Fixed compiler warning. redundancy
authorFlorian Pose <fp@igh-essen.com>
Fri, 28 Oct 2011 17:06:04 +0200
branchredundancy
changeset 2137 bb9af8815750
parent 2136 729df853b3fb
child 2142 26c74f035ab0
Fixed compiler warning.
devices/8139too-2.6.32-ethercat.c
--- a/devices/8139too-2.6.32-ethercat.c	Fri Oct 28 17:07:00 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;