summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDenis ChengRq <crquan@gmail.com>2014-06-02 12:18:01 +0400
committerDavid S. Miller <davem@davemloft.net>2014-06-02 21:36:18 +0400
commit2f91abd4516da0cadfb955c963b16f96e2e6c07a (patch)
tree551d9c8f4bfe699eeb731f108e3842d9498c5144 /samples
parent96b2e73c5471542cb9c622c4360716684f8797ed (diff)
downloadlinux-2f91abd4516da0cadfb955c963b16f96e2e6c07a.tar.xz
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions