bna: bnad_udelay macro cleanup
Subsystems (2)
PATCH 1/1 bna: bnad_udelay macro cleanup
Change details:
- Removed unnecessary bnad_udelay macro for ia64
--- drivers/net/bna/bnad.c | 4 ++-- drivers/net/bna/bnad.h | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-)
drivers/net/bna/bnad.c +2 -2
@@ -925,7 +925,7 @@ bnad_cb_tx_cleanup(struct bnad *bnad, struct bna_tcb *tcb) {/* Delay only once for the whole Tx Path Shutdown */ if (!test_and_set_bit (BNAD_RF_TX_SHUTDOWN_DELAYED , &bnad->run_flags)) -bnad_udelay (BNAD_TXRX_SYNC_UDELAY ); +udelay (BNAD_TXRX_SYNC_UDELAY ); } static void
@@ -938,7 +938,7 @@ bnad_cb_rx_cleanup(struct bnad *bnad,clear_bit (BNAD_RXQ_STARTED , &ccb->rcb[1 ]->flags);if (!test_and_set_bit (BNAD_RF_RX_SHUTDOWN_DELAYED , &bnad->run_flags)) -bnad_udelay (BNAD_TXRX_SYNC_UDELAY ); +udelay (BNAD_TXRX_SYNC_UDELAY ); } static void
drivers/net/bna/bnad.h +0 -6
@@ -336,10 +336,4 @@ extern void bnad_netdev_hwstats_fill(struct bnad *bnad, (((_bnad)->cfg_flags &BNAD_CF_DIM_ENABLED ) && \ (test_bit(BNAD_RF_DIM_TIMER_RUNNING, &((_bnad)->run_flags)))) -#if defined(__ia64__) -#define bnad_udelay udelay -#else -#define bnad_udelay __udelay -#endif -#endif /* __BNAD_H__ */
Signature · 1 line
1.7.1
David Miller
maintainerFrom: Rasesh Mody <[email protected]>
Date: Wed, 22 Dec 2010 23:05:49 -0800
Quoted 5 lines
Change details:
- Removed unnecessarybnad_udelaymacro for ia64Signed-off-by Debashis Dutt <[email protected]>Signed-off-by Rasesh Mody <[email protected]>
Please don't do it this way.
We don't add known crap, then add a patch to remove the crap.
Respin your BNA patch series so that this IA64 stuff never shows up in the first place.
Thanks.
Quoted 12 lines
From: David Miller [mailto:[email protected]]
Sent: Thursday, December 23, 2010 9:38 AMFrom: Rasesh Mody <[email protected]>
Date: Wed, 22 Dec 2010 23:05:49 -0800Quoted 5 lines
Change details:
- Removed unnecessarybnad_udelaymacro for ia64Signed-off-by Debashis Dutt <[email protected]>Signed-off-by Rasesh Mody <[email protected]>
Quoted 8 lines
Please don't do it this way.
We don't add known crap, then add a patch to remove the crap.
Respin your BNA patch series so that this IA64 stuff never shows up in the first place.
Thanks.
We'll respin and resubmit the patches with ia64 macro removed as per your suggestion. In future we'll take care to avoid this.
--Rasesh