drivers: modem_v1: silence logical-not-parentheses warning
authorMichael Benedict <michaelbt@live.com>
Mon, 3 Jun 2019 08:51:33 +0000 (18:51 +1000)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:13:36 +0000 (21:13 +0000)
Signed-off-by: Michael Benedict <michaelbt@live.com>
drivers/misc/modem_v1/modem_utils.c

index 9823289df1acddbbcc5201148fd07802234ebd5a..cc4c8513caafaef84e3cd39b1672b45e51edb32c 100644 (file)
@@ -522,7 +522,7 @@ void stop_net_ifaces(struct link_device *ld)
        unsigned long flags;
        spin_lock_irqsave(&ld->netif_lock, flags);
 
-       if (!atomic_read(&ld->netif_stopped) > 0) {
+       if (!(atomic_read(&ld->netif_stopped) > 0)) {
                if (ld->msd)
                        netif_tx_flowctl(ld->msd, true);