diff options
author | Joe Perches <joe@perches.com> | 2010-03-28 04:35:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-31 02:42:26 -0400 |
commit | dd4683daed6be3fd71105a8289257b75e151288c (patch) | |
tree | 83e691e0da3efd4bc378e458f3f5a765fe79df1b /drivers/net/ipg.c | |
parent | 02cdce53f3d0d3eee8188944c96150ee8c97100d (diff) |
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>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r-- | drivers/net/ipg.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 150415e83f61..0d7ad3f2d0f3 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c | |||
@@ -1547,8 +1547,6 @@ static void ipg_reset_after_host_error(struct work_struct *work) | |||
1547 | container_of(work, struct ipg_nic_private, task.work); | 1547 | container_of(work, struct ipg_nic_private, task.work); |
1548 | struct net_device *dev = sp->dev; | 1548 | struct net_device *dev = sp->dev; |
1549 | 1549 | ||
1550 | IPG_DDEBUG_MSG("DMACtrl = %8.8x\n", ioread32(sp->ioaddr + IPG_DMACTRL)); | ||
1551 | |||
1552 | /* | 1550 | /* |
1553 | * Acknowledge HostError interrupt by resetting | 1551 | * Acknowledge HostError interrupt by resetting |
1554 | * IPG DMA and HOST. | 1552 | * IPG DMA and HOST. |
@@ -1825,9 +1823,6 @@ static int ipg_nic_stop(struct net_device *dev) | |||
1825 | 1823 | ||
1826 | netif_stop_queue(dev); | 1824 | netif_stop_queue(dev); |
1827 | 1825 | ||
1828 | IPG_DDEBUG_MSG("RFDlistendCount = %i\n", sp->RFDlistendCount); | ||
1829 | IPG_DDEBUG_MSG("RFDListCheckedCount = %i\n", sp->rxdCheckedCount); | ||
1830 | IPG_DDEBUG_MSG("EmptyRFDListCount = %i\n", sp->EmptyRFDListCount); | ||
1831 | IPG_DUMPTFDLIST(dev); | 1826 | IPG_DUMPTFDLIST(dev); |
1832 | 1827 | ||
1833 | do { | 1828 | do { |