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

From: Belisko Marek
Date: Tue Nov 16 2010 - 02:37:58 EST


On Tue, Nov 16, 2010 at 8:30 AM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> 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.
Right. Just want to be sure ;)
> If you find more unnecessary casts, by all means submit them.

>
> cheers, Joe
>
>

thanks,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
--
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/