genetlink: remove superfluous assignment
authorDenis ChengRq <crquan@gmail.com>
Mon, 2 Jun 2014 08:18:01 +0000 (01:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jun 2014 17:36:18 +0000 (10:36 -0700)
commit2f91abd4516da0cadfb955c963b16f96e2e6c07a
tree551d9c8f4bfe699eeb731f108e3842d9498c5144
parent96b2e73c5471542cb9c622c4360716684f8797ed
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>
net/netlink/genetlink.c