]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fc1ee4d798af8e46301d708cf3339ffe6e78815
tree2c3f8b40770c5296d58e7e3e85135edcf7e071aa
parent55278f5930151f41dd519babb532fef6bdba96f3
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