Merge remote-tracking branch 'mkp-scsi/4.11/scsi-fixes' into fixes
[linux-2.6-block.git] / kernel / notifier.c
index fd2c9acbcc19856f4b53e28d1acd9f5d1cdae165..6196af8a82230024ba98647c7fe946bf842bd102 100644 (file)
@@ -95,7 +95,7 @@ static int notifier_call_chain(struct notifier_block **nl,
                if (nr_calls)
                        (*nr_calls)++;
 
-               if ((ret & NOTIFY_STOP_MASK) == NOTIFY_STOP_MASK)
+               if (ret & NOTIFY_STOP_MASK)
                        break;
                nb = next_nb;
                nr_to_call--;