Remove not used conditional.
[wsti_so.git] / src / process2.c
index 861919ce8b45b606fc11579ace0f6de0de3030e3..d498f1c8300de57ab9eefc5caf00629f09e4af0e 100644 (file)
@@ -94,10 +94,6 @@ void sig_handler(int signo)
                        fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0]));
                        raise(msg.signo[0]);
                }
-               else if (msgrcv(qid, &msg, sizeof(int), 2, 0) > 0) {
-                       fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0]));
-                       raise(msg.signo[0]);
-               }
        }
        else if (signo == SIGTERM) {
                fprintf(stderr, "[%s] > Signalling other processes..\n", "process2");