[PATCH 09/10] drivers/staging: Remove unnecessary casts of netdev_priv

Joe Perches joe at perches.com
Tue Nov 16 07:30:45 UTC 2010


On Tue, 2010-11-16 at 08:20 +0100, Belisko Marek wrote:
> On Mon, Nov 15, 2010 at 10:12 PM, Joe Perches <joe at perches.com> wrote:
> > Signed-off-by: Joe Perches <joe at perches.com>
> If I do: grep -r -n 'netdev_priv' drivers/staging/*/*[ch]

Try:

$ grep -rP --include=*.[ch] "=\s*\([^\*]+\*\s*\)\s*netdev_priv" drivers/staging

> there is a more netdev_priv occurences ;)

I'm sure there are, but probably not assigns.
If you find more unnecessary casts, by all means submit them.

cheers, Joe




More information about the devel mailing list