diff options
author | Samir Bellabes <sam@synack.fr> | 2010-01-07 22:10:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-13 20:37:45 -0800 |
commit | e1d5a010729a7a495a8a8de85727f3f0d62f06a0 (patch) | |
tree | f1f5b01429ddf5ce7e023088f7ac705bed639db0 /net/core/netpoll.c | |
parent | 37fce430dd66a6251bde6ef0004a1da69b26c028 (diff) | |
download | linux-e1d5a010729a7a495a8a8de85727f3f0d62f06a0.tar.bz2 |
genetlink: optimize ctrl_dumpfamily()
there is a unnecessary test which can be replaced by a good initialization in
the 'for' statement
Noticed by Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Samir Bellabes <sam@synack.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions