diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index 02f044a87159..7887f2a7c2aa 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c | |||
@@ -1435,11 +1435,9 @@ static int __init fcoe_init(void) | |||
1435 | */ | 1435 | */ |
1436 | fcoe_dev_setup(); | 1436 | fcoe_dev_setup(); |
1437 | 1437 | ||
1438 | init_timer(&fcoe_timer); | 1438 | setup_timer(&fcoe_timer, fcoe_watchdog, 0); |
1439 | fcoe_timer.data = 0; | 1439 | |
1440 | fcoe_timer.function = fcoe_watchdog; | 1440 | mod_timer(&fcoe_timer, jiffies + (10 * HZ)); |
1441 | fcoe_timer.expires = (jiffies + (10 * HZ)); | ||
1442 | add_timer(&fcoe_timer); | ||
1443 | 1441 | ||
1444 | /* initiatlize the fcoe transport */ | 1442 | /* initiatlize the fcoe transport */ |
1445 | fcoe_transport_init(); | 1443 | fcoe_transport_init(); |