Fixed compiler warning.
authorFlorian Pose <fp@igh-essen.com>
Thu, 20 May 2010 11:15:46 +0200
changeset 1928 e9d5929829ba
parent 1927 365a90e93161
child 1929 b5dab7ee6cf7
Fixed compiler warning.
devices/e100-2.6.31-ethercat.c
--- a/devices/e100-2.6.31-ethercat.c	Thu May 06 11:56:35 2010 +0200
+++ b/devices/e100-2.6.31-ethercat.c	Thu May 20 11:15:46 2010 +0200
@@ -704,7 +704,7 @@
 
 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);