]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit8d74849b91536b126c822968b0f5a1dfd658394d
tree33e1f79f41ba57dbf71371f192061dc6b87db63f
parentdb2961c5a13562503c82ae306af269fde4fea8f0
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