Skip to contentSkip to conversation

drivers/net/ipg: Remove invalid IPG_DDEBUG_MSG uses, neaten

PATCH Applied Joe Perches 2 participants 4 messages Mar 28, 2010 – Mar 31, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/ipg: Remove invalid IPG_DDEBUG_MSG uses, neaten

Some no longer valid IPG_DDEBUG_MSG uses are removed Validate IPG_DDEBUG_MSG arguments when not #defined Neaten #defines
marco/macro typo correction

---
 drivers/net/ipg.c |    5 --
 drivers/net/ipg.h |  109 +++++++++++++++++++++++++++++-----------------------
 2 files changed, 61 insertions(+), 53 deletions(-)
drivers/net/ipg.c +0 -5
index 150415e..0d7ad3f 100644
@@ -1547,8 +1547,6 @@ static void ipg_reset_after_host_error(struct work_struct *work)
 		container_of(work, struct ipg_nic_private, task.work);
 	struct net_device *dev = sp->dev;
 
-	IPG_DDEBUG_MSG("DMACtrl = %8.8x\n", ioread32(sp->ioaddr + IPG_DMACTRL));
-
 	/*
 	 * Acknowledge HostError interrupt by resetting
 	 * IPG DMA and HOST.
@@ -1825,9 +1823,6 @@ static int ipg_nic_stop(struct net_device *dev)
 
 	netif_stop_queue(dev);
 
-	IPG_DDEBUG_MSG("RFDlistendCount = %i\n", sp->RFDlistendCount);
-	IPG_DDEBUG_MSG("RFDListCheckedCount = %i\n", sp->rxdCheckedCount);
-	IPG_DDEBUG_MSG("EmptyRFDListCount = %i\n", sp->EmptyRFDListCount);
 	IPG_DUMPTFDLIST(dev);
 
 	do {
drivers/net/ipg.h +61 -48

240 lines not on this page · raw message

#1 lore raw

PATCH 1/1 MAINTAINERS: ipg: Jesse Huang's email address bounces

---

MAINTAINERS +1 -2
index 28d4bf0..73a9e1a 100644
@@ -2998,10 +2998,9 @@ F:	net/ipv4/netfilter/ipt_MASQUERADE.c
 IP1000A 10/100/1000 GIGABIT ETHERNET DRIVER
 M:	Francois Romieu <[email protected]>
 M:	Sorbica Shieh <[email protected]>
-M:	Jesse Huang <[email protected]>
 L:	[email protected]
 S:	Maintained
-F:	drivers/net/ipg.c
+F:	drivers/net/ipg.*
 
 IPATH DRIVER
 M:	Ralph Campbell <[email protected]>