aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgb/ixgb.h
diff options
context:
space:
mode:
authorJoe Perches2012-02-08 16:14:59 +0000
committerJeff Kirsher2012-03-14 00:26:42 -0700
commit5edc4465826bf5be4da678822b0c0e35666b6d67 (patch)
tree080b7d7704a0090b7d3ae2549ac6b1fa8d17fc30 /drivers/net/ethernet/intel/ixgb/ixgb.h
parent3832b26e49ad9e585239b32f763c31679f9e41fe (diff)
ixgb: Remove unnecessary defines, use pr_debug
Use the current logging styles. Remove unnecessary _DEBUG_DRIVER_ and PFX, use pr_debug. Coalesce format. Signed-off-by: Joe Perches <joe@perches.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgb/ixgb.h')
-rw-r--r--drivers/net/ethernet/intel/ixgb/ixgb.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb.h b/drivers/net/ethernet/intel/ixgb/ixgb.h
index cb23448fe2fa..4d2ae97ff1b3 100644
--- a/drivers/net/ethernet/intel/ixgb/ixgb.h
+++ b/drivers/net/ethernet/intel/ixgb/ixgb.h
@@ -75,18 +75,6 @@ struct ixgb_adapter;
#include "ixgb_ee.h"
#include "ixgb_ids.h"
-#define PFX "ixgb: "
-
-#ifdef _DEBUG_DRIVER_
-#define IXGB_DBG(fmt, args...) printk(KERN_DEBUG PFX fmt, ##args)
-#else
-#define IXGB_DBG(fmt, args...) \
-do { \
- if (0) \
- printk(KERN_DEBUG PFX fmt, ##args); \
-} while (0)
-#endif
-
/* TX/RX descriptor defines */
#define DEFAULT_TXD 256
#define MAX_TXD 4096