]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: reduce stack usage of netxen_nic_flash_print
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 22 Apr 2008 18:48:35 +0000 (11:48 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:55 +0000 (02:08 -0400)
commit525e26623cedee02aa8ff0898794b5ab509c08a1
tree33e1f79f41ba57dbf71371f192061dc6b87db63f
parent4f48afd756737fa13d53a568d18359cbc707401a
netxen: reduce stack usage of netxen_nic_flash_print

Don't need to keep a struct netxen_new_user_info on the stack
when we only are interested in printing the serial_num.  Change
to only reading the serial_num.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/netxen/netxen_nic_hw.c