Fixed compiler warning. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Fri, 28 Oct 2011 17:06:04 +0200
branchstable-1.5
changeset 2155 11db674389b1
parent 2143 5ba5b3792365
child 2161 072c172e6a85
Fixed compiler warning.
devices/8139too-2.6.32-ethercat.c
--- a/devices/8139too-2.6.32-ethercat.c	Wed Nov 09 09:55:58 2011 +0100
+++ 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;