isdn: hfcpci_softirq: get func return to suppress compiler warning
authorAntonio Alecrim Jr <antonio.alecrim@gmail.com>
Sat, 14 Sep 2013 17:20:40 +0000 (14:20 -0300)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 Aug 2016 09:40:41 +0000 (11:40 +0200)
commit d6d6d1bc44362112e10a48d434e5b3c716152003 upstream.

Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/isdn/hardware/mISDN/hfcpci.c

index a7e4939787c957a0f7975c4ea3d8aaaa390e6d2b..eab9167937e27c7ef32595066f4df0e88b3e9f17 100644 (file)
@@ -2295,8 +2295,8 @@ _hfcpci_softirq(struct device *dev, void *arg)
 static void
 hfcpci_softirq(void *arg)
 {
-       (void) driver_for_each_device(&hfc_driver.driver, NULL, arg,
-                                     _hfcpci_softirq);
+       WARN_ON_ONCE(driver_for_each_device(&hfc_driver.driver, NULL, arg,
+                                     _hfcpci_softirq) != 0);
 
        /* if next event would be in the past ... */
        if ((s32)(hfc_jiffies + tics - jiffies) <= 0)