]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/pmcraid.c
Merge tag 'pinctrl-v3.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[karo-tx-linux.git] / drivers / scsi / pmcraid.c
index 85510086a36cb225c278e3f65302c7e346a2b602..ed31d8cc62665cf919d6b31d3bad01c275104362 100644 (file)
@@ -1473,13 +1473,7 @@ static int pmcraid_notify_aen(
        }
 
        /* send genetlink multicast message to notify appplications */
-       result = genlmsg_end(skb, msg_header);
-
-       if (result < 0) {
-               pmcraid_err("genlmsg_end failed\n");
-               nlmsg_free(skb);
-               return result;
-       }
+       genlmsg_end(skb, msg_header);
 
        result = genlmsg_multicast(&pmcraid_event_family, skb,
                                   0, 0, GFP_ATOMIC);