This function doesn't change the ret's value and thus always returns 0, with a
single exception of returning -EAGAIN explicitly.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
                        struct sigpending *signals)
 {
        struct sigqueue * q = NULL;
-       int ret = 0;
 
        /*
         * Deliver the signal to listening signalfds. This must be called
 
 out_set:
        sigaddset(&signals->signal, sig);
-       return ret;
+       return 0;
 }
 
 #define LEGACY_QUEUE(sigptr, sig) \