Skip to contentSkip to conversation

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

PATCH Anish Bhatt 2 participants 2 messages Jul 6, 2015 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi Nick,

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

commit 661b689bbd2e9392c3d9935e791af75ddbc455dc

Author: Hariprasad Shenai <[email protected]>
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()

Thanks,
Hari

________________________________________
From: nick [[email protected]]
Sent: Monday, July 06, 2015 6:25 PM
To: Anish Bhatt; [email protected]
Cc: [email protected]; Hariprasad S; [email protected]; [email protected]
Subject: Re: [PATCH] csiostor:Make the function csio_ln_prep_ecwr have a return type of void

Quoted 2 lines · Anish Bhatt

Anish,
I also have this patch for your networking drivers lying around and was unable to get in merged by the maintainer:

Quoted 1 line

From 1201c4b502ec8faef8cd4c3a6ee9dbd7d386d9cf Mon Sep 17 00:00:00 2001

From: Nicholas Krause <[email protected]>
Date: Sun, 7 Jun 2015 20:50:43 -0400
Subject: [RESEND PATCH] chelsio:Remove unused functions from the file, cxgb4_main.c

This removes the no longer used functions, cxgb4_enable_db_coalescing and cxgb4_disable_db_coalescing plus the exporting of them as symbols due to having no more users/callers of these particular functions.

---
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 19 -------------------
 1 file changed, 19 deletions(-)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +0 -19
index 803d91b..f996443 100644
@@ -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;

--
2.1.4
If you can merge it or get in contact with the maintainer to apply in to their tree that would be great.
Thanks,
Nick