# HG changeset patch # User Florian Pose # Date 1319814364 -7200 # Node ID 625d87822620616c40b891d5c0badfeae2442a6b # Parent 0383b71b88e445774b354a319ff2dbdc4baeefc1 Fixed compiler warning. diff -r 0383b71b88e4 -r 625d87822620 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;