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 Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
02cdce53f3
commit
dd4683daed
@@ -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 {
|
||||
|
Reference in New Issue
Block a user