mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
scsi: storvsc: remove unnecessary channel inbound lock
In storvsc driver, inbound messages do not go through inbound lock. The only effect of this lock was is to provide a barrier for connect and remove logic. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
ddccd9528d
commit
2371cd90ab
3 changed files with 3 additions and 7 deletions
|
|
@ -332,7 +332,6 @@ static struct vmbus_channel *alloc_channel(void)
|
|||
if (!channel)
|
||||
return NULL;
|
||||
|
||||
spin_lock_init(&channel->inbound_lock);
|
||||
spin_lock_init(&channel->lock);
|
||||
|
||||
INIT_LIST_HEAD(&channel->sc_list);
|
||||
|
|
|
|||
Loading…
Reference in a new issue