diff --git a/devices/e100-2.6.31-ethercat.c b/devices/e100-2.6.31-ethercat.c index e5f01597eb83c30a104e67fae45e6ca78b145c74..b48821ac389888bdec3b9da25768d7a6c0b346ff 100644 --- a/devices/e100-2.6.31-ethercat.c +++ b/devices/e100-2.6.31-ethercat.c @@ -704,7 +704,7 @@ static void e100_enable_irq(struct nic *nic) static void e100_disable_irq(struct nic *nic) { - unsigned long flags; + unsigned long flags = 0; if (!nic->ecdev) spin_lock_irqsave(&nic->cmd_lock, flags);