Skip to content
Commit 2f91abd4 authored by Denis ChengRq's avatar Denis ChengRq Committed by David S. Miller
Browse files

genetlink: remove superfluous assignment



the local variable ops and n_ops were just read out from family,
and not changed, hence no need to assign back.

Validation functions should operate on const parameters and not
change anything.

Signed-off-by: default avatarCheng Renquan <crquan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 96b2e73c
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