diff options
author | Fugang Duan <B38611@freescale.com> | 2011-11-03 13:58:16 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:04:17 +0800 |
commit | 6a6d063dbcf8d140b216f2c72a8678f1b7791e4a (patch) | |
tree | b03cc72eb5d45a7808ab3899f9c19e60bdbb6f63 /drivers | |
parent | 8b27cfcecd5b911a4b3de116b178be6f66a3d68c (diff) |
ENGR00161312 - FEC: fix build warning
fix build warning:
> drivers/net/fec.c:435: warning: unused variable 'estatus'
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 9730f6e5ac84..710824044abc 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -381,7 +381,6 @@ fec_enet_tx(struct net_device *ndev) struct fec_ptp_private *fpp; struct bufdesc *bdp; unsigned short status; - unsigned long estatus; struct sk_buff *skb; fep = netdev_priv(ndev); @@ -428,8 +427,7 @@ fec_enet_tx(struct net_device *ndev) #if defined(CONFIG_ENHANCED_BD) if (fep->ptimer_present) { - estatus = bdp->cbd_esc; - if (estatus & BD_ENET_TX_TS) + if (bdp->cbd_esc & BD_ENET_TX_TS) fec_ptp_store_txstamp(fpp, skb, bdp); } #elif defined(CONFIG_IN_BAND) |