diff options
author | Joe Perches <joe@perches.com> | 2010-07-22 01:44:18 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-22 01:44:18 +0400 |
commit | 2037d5aa2551267184284188efdec4742f7218fa (patch) | |
tree | b2ba1e244cbd3e37bb0b9d2b53b6de42728c39ab /drivers/net/qlge/qlge.h | |
parent | f25c80a4b2bf93c99820f470573626557db35202 (diff) | |
download | linux-2037d5aa2551267184284188efdec4742f7218fa.tar.xz |
drivers/net/qlge: Use pr_<level>, shrink text a bit
Add and use a few neatening macros
Remove PFX
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Convert printk(KERN_ERR to pr_err(
$ size drivers/net/qlge/built-in.o.*
text data bss dec hex filename
116456 2312 25712 144480 23460 drivers/net/qlge/built-in.o.old
114909 2312 25728 142949 22e65 drivers/net/qlge/built-in.o.new
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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 06b2188f6368..a478786840a6 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -18,8 +18,6 @@ #define DRV_STRING "QLogic 10 Gigabit PCI-E Ethernet Driver " #define DRV_VERSION "v1.00.00.25.00.00-01" -#define PFX "qlge: " - #define WQ_ADDR_ALIGN 0x3 /* 4 byte alignment */ #define QLGE_VENDOR_ID 0x1077 |