diff options
author | Joe Perches <joe@perches.com> | 2010-02-09 11:49:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-12 13:27:46 -0800 |
commit | ae9540f75d5a69e7604cc5391cc0726b3aa82ff6 (patch) | |
tree | 434a87a571115a0f9470feaf6346333fb36e88b7 /drivers/net/qlge/qlge.h | |
parent | f8502ce4f986a8fd486302980285b5e786b8dabe (diff) |
drivers/net/qlge: Use netif_printk helpers
Convert QPRINTK macros to netif_<level> equivalents.
Expands and standardizes the logging message output.
Removes __func__ from most logging messages.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index ebfd17776b5..57d135e3bfa 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -19,14 +19,6 @@ #define DRV_VERSION "v1.00.00.23.00.00-01" #define PFX "qlge: " -#define QPRINTK(qdev, nlevel, klevel, fmt, args...) \ - do { \ - if (!((qdev)->msg_enable & NETIF_MSG_##nlevel)) \ - ; \ - else \ - dev_printk(KERN_##klevel, &((qdev)->pdev->dev), \ - "%s: " fmt, __func__, ##args); \ - } while (0) #define WQ_ADDR_ALIGN 0x3 /* 4 byte alignment */ |