]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
axi_ethernet: Do not clear phys for TX
authorMichal Simek <monstr@monstr.eu>
Tue, 31 May 2011 08:47:28 +0000 (10:47 +0200)
committerJohn Linn <john.linn@xilinx.com>
Wed, 30 Nov 2011 04:32:47 +0000 (20:32 -0800)
cur_p->phys is always setup again that's why make no
sense to clear it.

Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/net/xilinx_axienet_main.c

index 721928921a16d103b044097c7e7dd3076cdcfa19..2491ac053125cfa9541d1492071e7c44c3a6f8d2 100644 (file)
@@ -688,7 +688,7 @@ static void axienet_start_xmit_done(struct net_device *ndev)
                if (cur_p->app4)
                        dev_kfree_skb_irq((struct sk_buff *)cur_p->app4);
 
-               cur_p->phys = 0;
+               /*cur_p->phys = 0;*/
                cur_p->app0 = 0;
                cur_p->app1 = 0;
                cur_p->app2 = 0;