summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Alecrim Jr <antonio.alecrim@gmail.com>2013-09-14 14:20:40 -0300
committerWilly Tarreau <w@1wt.eu>2016-08-27 11:40:41 +0200
commitd55534bf7e5796555a9359fd82872a07ba4ac87c (patch)
tree7ee5b5b770394b3ca6b867bb9dbc09186cd5ad59
parent9771330fd5decfd1ff4e38fb45ea05bcce1592e5 (diff)
isdn: hfcpci_softirq: get func return to suppress compiler warning
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>
-rw-r--r--drivers/isdn/hardware/mISDN/hfcpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c
index a7e4939787c9..eab9167937e2 100644
--- a/drivers/isdn/hardware/mISDN/hfcpci.c
+++ b/drivers/isdn/hardware/mISDN/hfcpci.c
@@ -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)