v2 e1000: Neaten e1000_dump function
authorTushar Dave <tushar.n.dave@intel.com>
Fri, 10 Feb 2012 08:06:36 +0000 (08:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Feb 2012 10:03:43 +0000 (02:03 -0800)
commite29b5d8f0896bfe908c0036f2614a89e71bdf42c
tree0edfbcfd9d1f25b8c1c3b7f1490aa019cdbf751a
parent542c3f4ea90fb6de47cce13df1da9ed9b1563981
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/ethernet/intel/e1000/e1000_main.o*
   text    data     bss     dec     hex filename
  60507     369   14120   74996   124f4
drivers/net/ethernet/intel/e1000/e1000_main.o.new
  60717     369   14176   75262   125fe
drivers/net/ethernet/intel/e1000/e1000_main.o.old

Removed printing of pktdata.

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>
drivers/net/ethernet/intel/e1000/e1000_main.c