]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/netlabel/netlabel_cipso_v4.c
Merge branch 'linus' into x86/cleanups
[mv-sheeva.git] / net / netlabel / netlabel_cipso_v4.c
index 283ff4a527fd7d679a496f5645278342d018f1b4..9080c61b71a5633a7b4b49199db9b83a4c26559e 100644 (file)
@@ -584,12 +584,7 @@ list_start:
        rcu_read_unlock();
 
        genlmsg_end(ans_skb, data);
-
-       ret_val = genlmsg_reply(ans_skb, info);
-       if (ret_val != 0)
-               goto list_failure;
-
-       return 0;
+       return genlmsg_reply(ans_skb, info);
 
 list_retry:
        /* XXX - this limit is a guesstimate */
@@ -761,7 +756,7 @@ static struct genl_ops netlbl_cipsov4_ops[] = {
  * mechanism.  Returns zero on success, negative values on failure.
  *
  */
-int netlbl_cipsov4_genl_init(void)
+int __init netlbl_cipsov4_genl_init(void)
 {
        int ret_val, i;