diff mbox

csiostor:Make the function csio_ln_prep_ecwr have a return type of void

Message ID 26E3F92EC670BD429DB5CB319D773C13CC89A4@nice.asicdesigners.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hariprasad S July 6, 2015, 1:41 p.m. UTC
Hi Nick,

Its been pushed a while ago to net-next tree.

commit 661b689bbd2e9392c3d9935e791af75ddbc455dc
Author: Hariprasad Shenai <hariprasad@chelsio.com>
Date:   Mon Jun 1 20:07:41 2015 +0530

    cxgb4: remove unused fn to enable/disable db coalescing
    
    Remove unused function cxgb4_enable_db_coalescing() and
    cxgb4_disable_db_coalescing()
    
    Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Thanks,
Hari
diff mbox

Patch

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 803d91b..f996443 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@ -2042,25 +2042,6 @@  out:
 }
 EXPORT_SYMBOL(cxgb4_sync_txq_pidx);

-void cxgb4_disable_db_coalescing(struct net_device *dev)
-{
-       struct adapter *adap;
-
-       adap = netdev2adap(dev);
-       t4_set_reg_field(adap, SGE_DOORBELL_CONTROL_A, NOCOALESCE_F,
-                        NOCOALESCE_F);
-}
-EXPORT_SYMBOL(cxgb4_disable_db_coalescing);
-
-void cxgb4_enable_db_coalescing(struct net_device *dev)
-{
-       struct adapter *adap;
-
-       adap = netdev2adap(dev);
-       t4_set_reg_field(adap, SGE_DOORBELL_CONTROL_A, NOCOALESCE_F, 0);
-}
-EXPORT_SYMBOL(cxgb4_enable_db_coalescing);
-
 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte)
 {
        struct adapter *adap;