# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1274346946 -7200
# Node ID e9d5929829ba04dc8650fa8fa3a17e1a542f1261
# Parent  365a90e931616c979a6d14a68bb12f7b74ef7f8a
Fixed compiler warning.

diff -r 365a90e93161 -r e9d5929829ba 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);