]> www.infradead.org Git - users/jedix/linux-maple.git/commit
v2 e1000: Neaten e1000_dump function
authorTushar Dave <tushar.n.dave@intel.com>
Fri, 10 Feb 2012 08:06:36 +0000 (08:06 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 04:56:28 +0000 (12:56 +0800)
commit095962e93fbdd6b34a82715bd5439fdf022267b1
treea469927b7a6ba6ffe5aa19b24b7cc65b8699f6e7
parent0bc9adc13077de310314d2048d793225bf511198
v2 e1000: Neaten e1000_dump function

Use pr_<level> for printk
Use temporary instead of multiple pr_conts
Coalesce formats.

Save a few bytes of object code too:

$ size drivers/net/e1000/e1000_main.o*
   text    data     bss     dec     hex filename
  60507     369   14120   74996   124f4
drivers/net/e1000/e1000_main.o.new
  60717     369   14176   75262   125fe
drivers/net/e1000/e1000_main.o.old

Removed printing of pktdata.

(cherry picked from commit e29b5d8f0896bfe908c0036f2614a89e71bdf42c)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000/e1000_main.c