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:Cheng Renquan <crquan@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
96b2e73c
Please register or sign in to comment