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 /include | |
parent | 37fce430dd66a6251bde6ef0004a1da69b26c028 (diff) | |
download | linux-3.10-e1d5a010729a7a495a8a8de85727f3f0d62f06a0.tar.gz linux-3.10-e1d5a010729a7a495a8a8de85727f3f0d62f06a0.tar.bz2 linux-3.10-e1d5a010729a7a495a8a8de85727f3f0d62f06a0.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions