diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2008-12-10 02:09:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 02:09:22 -0500 |
commit | 5a03cdb7f2d7ff88e50153d8c3b90a1d52dca435 (patch) | |
tree | 2cdaf63b0308afcf259625ea20439840c81d62e5 /drivers/net/bonding/bonding.h | |
parent | ef65583d01f4060c758dba72f08edc09d8faa719 (diff) |
bonding: use pr_debug instead of own macros
Use pr_debug() instead of own macros.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index b8c2462577b7..27642f2c4a37 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -32,14 +32,6 @@ | |||
32 | 32 | ||
33 | extern struct list_head bond_dev_list; | 33 | extern struct list_head bond_dev_list; |
34 | 34 | ||
35 | #ifdef BONDING_DEBUG | ||
36 | #define dprintk(fmt, args...) \ | ||
37 | printk(KERN_DEBUG \ | ||
38 | DRV_NAME ": %s() %d: " fmt, __func__, __LINE__ , ## args ) | ||
39 | #else | ||
40 | #define dprintk(fmt, args...) | ||
41 | #endif /* BONDING_DEBUG */ | ||
42 | |||
43 | #define IS_UP(dev) \ | 35 | #define IS_UP(dev) \ |
44 | ((((dev)->flags & IFF_UP) == IFF_UP) && \ | 36 | ((((dev)->flags & IFF_UP) == IFF_UP) && \ |
45 | netif_running(dev) && \ | 37 | netif_running(dev) && \ |