Re: [PATCH] netdev:bfin_mac: reclaim and free tx skb as soon as possible after transfer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Wednesday, June 2, 2010 - 7:02 am

From: sonic zhang <sonic.adi@gmail.com>
Date: Tue, 1 Jun 2010 17:19:34 +0800


Putting parenthesis around "lp" is excessive, please don't do this.


Do not cast the function pointer to "void *" like this, it's ugly and entirely
not necessary.

Instead have a wrapper function that uses the correct types as specified
for timer functions, that calls the existing function.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] netdev:bfin_mac: reclaim and free tx skb as so ..., David Miller, (Wed Jun 2, 7:02 am)