diff options
| author | Leon Romanovsky <[email protected]> | 2017-04-22 17:28:51 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-04-28 13:11:43 -0400 |
| commit | 313e16d5afaf000bd3f7a80e328890f963a10366 (patch) | |
| tree | b45dbbb0fb468a8ef2fecc77505bb4abbe9d6a4d /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
| 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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions