: Fix warning in _hfcpci_softirq()
Subsystems (2)
PATCH 1/1 : Fix warning in _hfcpci_softirq()
Fix warning:
drivers/isdn/hardware/mISDN/hfcpci.c: In function `hfcpci_softirq':drivers/isdn/hardware/mISDN/hfcpci.c:2321: warning: ignoring return value of `driver_for_each_device', declared with attribute warn_unused_result
Signed-off-by Prarit Bhargava <[email protected]>
drivers/isdn/hardware/mISDN/hfcpci.c +4 -2
@@ -2317,8 +2317,10 @@ _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); +int ret; + + ret =driver_for_each_device (&hfc_driver.driver,NULL , arg, + _hfcpci_softirq);/* if next event would be in the past ... */ if ((s32)(hfc_jiffies + tics - jiffies) <=0 )