aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorSebastien Dugue <sebastien.dugue@bull.net>2008-09-11 15:34:40 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 18:58:55 -0400
commit2eefbd63d0c85daa1317636474c226e236beba81 (patch)
tree2c108c03a261dbc38b77954e96365c2070005d66 /drivers/net/bnx2x.h
parentd100ba33f8d2c4dbb53b05f5ac49c39a0dd9dd76 (diff)
ehea: fix mutex and spinlock use
Looks like to me that the ehea_fw_handles.lock mutex and the ehea_bcmc_regs.lock spinlock are taken much longer than necessary and could as well be pushed inside the functions that need them (ehea_update_firmware_handles() and ehea_update_bcmc_registrations()) rather than at each callsite. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/bnx2x.h')
0 files changed, 0 insertions, 0 deletions