kernel-netlink: Avoid casting the NLMSG_DATA() return value
authorMartin Willi <martin@revosec.ch>
Wed, 9 Jul 2014 13:53:14 +0000 (15:53 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 24 Sep 2014 09:19:59 +0000 (11:19 +0200)
commit4c438cf0992ff20b02e2f5ef0c656fcb18fac02b
treef85ecf099c3f7a0ca4081063cc2c612c78e32a25
parent0404a29bfe7a24ca0c6d4f94405a01f6ff942f43
kernel-netlink: Avoid casting the NLMSG_DATA() return value

There is really no need for doing so, and it makes the code just unreadable.
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.c