netlink: do not store start function in netlink_cb
authorFlorian Westphal <fw@strlen.de>
Tue, 24 Jul 2018 10:47:56 +0000 (12:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2018 17:04:49 +0000 (10:04 -0700)
commit3730cf4dd70b6a36e48d58a862120311411b77f5
tree2c3f8b40770c5296d58e7e3e85135edcf7e071aa
parentc93622b53e7ab41baab2563df0ac425afd1b45c3
netlink: do not store start function in netlink_cb

->start() is called once when dump is being initialized, there is no
need to store it in netlink_cb.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
net/netlink/af_netlink.c