kernel: Remove useless if (...). master
authorSascha Wildner <saw@online.de>
Tue, 30 Aug 2016 17:36:45 +0000 (19:36 +0200)
committerSascha Wildner <saw@online.de>
Tue, 30 Aug 2016 17:36:58 +0000 (19:36 +0200)
sys/kern/subr_prf.c

index 7fa0fd4..c3cc6cf 100644 (file)
@@ -1200,8 +1200,6 @@ sysctl_kern_msgbuf(SYSCTL_HANDLER_ARGS)
                        error = sysctl_handle_opaque(oidp, mbp->msg_ptr,
                                                     n, req);
        }
-       if (error)
-               return (error);
        return (error);
 }