diff options
author | Leon Romanovsky <leon@kernel.org> | 2017-04-22 17:28:51 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-28 13:11:43 -0400 |
commit | 313e16d5afaf000bd3f7a80e328890f963a10366 (patch) | |
tree | b45dbbb0fb468a8ef2fecc77505bb4abbe9d6a4d /tools/perf/scripts/python/net_dropmonitor.py | |
parent | f5029e752b0d8e4de81f9dfb7752c04ae1eecc69 (diff) |
IB/usnic: Simplify the code to balance loc/unlock calls
Simplify code in find_free_vf_and_create_qp_grp() to avoid sparse error
regarding call to unlock in the block other than lock was called.
drivers/infiniband/hw/usnic/usnic_ib_verbs.c:206:9: warning: context imbalance
in 'find_free_vf_and_create_qp_grp' - different lock
contexts for basic block
CC: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions