diff options
Diffstat (limited to 'drivers/net/can/sja1000/peak_pci.c')
-rw-r--r-- | drivers/net/can/sja1000/peak_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/can/sja1000/peak_pci.c b/drivers/net/can/sja1000/peak_pci.c index d84888f03d92..600ac7226e5c 100644 --- a/drivers/net/can/sja1000/peak_pci.c +++ b/drivers/net/can/sja1000/peak_pci.c | |||
@@ -339,8 +339,7 @@ static void peak_pciec_set_leds(struct peak_pciec_card *card, u8 led_mask, u8 s) | |||
339 | */ | 339 | */ |
340 | static void peak_pciec_start_led_work(struct peak_pciec_card *card) | 340 | static void peak_pciec_start_led_work(struct peak_pciec_card *card) |
341 | { | 341 | { |
342 | if (!delayed_work_pending(&card->led_work)) | 342 | schedule_delayed_work(&card->led_work, HZ); |
343 | schedule_delayed_work(&card->led_work, HZ); | ||
344 | } | 343 | } |
345 | 344 | ||
346 | /* | 345 | /* |