Fixed compiler warning.
authorFlorian Pose <fp@igh-essen.com>
Fri, 28 Oct 2011 17:06:04 +0200
changeset 2130 625d87822620
parent 2126 0383b71b88e4
child 2131 2cefec773772
Fixed compiler warning.
devices/8139too-2.6.32-ethercat.c
--- a/devices/8139too-2.6.32-ethercat.c	Fri Oct 28 11:31:54 2011 +0200
+++ b/devices/8139too-2.6.32-ethercat.c	Fri Oct 28 17:06:04 2011 +0200
@@ -1779,7 +1779,7 @@
 	void __iomem *ioaddr = tp->mmio_addr;
 	unsigned int entry;
 	unsigned int len = skb->len;
-	unsigned long flags;
+	unsigned long flags = 0;
 
 	/* Calculate the next Tx descriptor entry. */
 	entry = tp->cur_tx % NUM_TX_DESC;