Re: [PATCH 09/10] drivers/staging: Remove unnecessary casts ofnetdev_priv

From: Joe Perches
Date: Tue Nov 16 2010 - 02:31:09 EST


On Tue, 2010-11-16 at 08:20 +0100, Belisko Marek wrote:
> On Mon, Nov 15, 2010 at 10:12 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> > Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/