Skip to content
Commit 2eefbd63 authored by Sebastien Dugue's avatar Sebastien Dugue Committed by Jeff Garzik
Browse files

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: default avatarSebastien Dugue <sebastien.dugue@bull.net>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent d100ba33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment