Skip to content
Commit e1d5a010 authored by Samir Bellabes's avatar Samir Bellabes Committed by David S. Miller
Browse files

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: default avatarSamir Bellabes <sam@synack.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 37fce430
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment