netlink: make nlmsg_end() and genlmsg_end() void
[deliverable/linux.git] / net / ieee802154 / nl-phy.c
index 7baf98b146116bd52f961c371d31a33878c0b8d8..1b9d25f6e898616d7972950692bcd1eab71ddb26 100644 (file)
@@ -65,7 +65,8 @@ static int ieee802154_nl_fill_phy(struct sk_buff *msg, u32 portid,
                goto nla_put_failure;
        mutex_unlock(&phy->pib_lock);
        kfree(buf);
-       return genlmsg_end(msg, hdr);
+       genlmsg_end(msg, hdr);
+       return 0;
 
 nla_put_failure:
        mutex_unlock(&phy->pib_lock);
This page took 0.024979 seconds and 5 git commands to generate.