diff options
Diffstat (limited to 'drivers/net/igb/e1000_hw.h')
-rw-r--r-- | drivers/net/igb/e1000_hw.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h index 7b2c70a3b8cc..746c3ea09e27 100644 --- a/drivers/net/igb/e1000_hw.h +++ b/drivers/net/igb/e1000_hw.h | |||
@@ -586,14 +586,10 @@ struct e1000_hw { | |||
586 | 586 | ||
587 | #ifdef DEBUG | 587 | #ifdef DEBUG |
588 | extern char *igb_get_hw_dev_name(struct e1000_hw *hw); | 588 | extern char *igb_get_hw_dev_name(struct e1000_hw *hw); |
589 | #define hw_dbg(hw, format, arg...) \ | 589 | #define hw_dbg(format, arg...) \ |
590 | printk(KERN_DEBUG "%s: " format, igb_get_hw_dev_name(hw), ##arg) | 590 | printk(KERN_DEBUG "%s: " format, igb_get_hw_dev_name(hw), ##arg) |
591 | #else | 591 | #else |
592 | static inline int __attribute__ ((format (printf, 2, 3))) | 592 | #define hw_dbg(format, arg...) |
593 | hw_dbg(struct e1000_hw *hw, const char *format, ...) | ||
594 | { | ||
595 | return 0; | ||
596 | } | ||
597 | #endif | 593 | #endif |
598 | 594 | ||
599 | #endif | 595 | #endif |