IB/srpt: Micro-optimize I/O context state manipulation
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 8 Jan 2018 19:00:51 +0000 (11:00 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 8 Jan 2018 21:05:12 +0000 (16:05 -0500)
commit2d67017cc78f1607bac5347ce0c5258734796faf
treeb0401a467346a44250ad53aaa51ec5f1eb8ccc18
parentdd3bec8655d6f760540afd2261ca7ae9b6888cb0
IB/srpt: Micro-optimize I/O context state manipulation

Since all I/O context state changes are already serialized, it is
not necessary to protect I/O context state changes with the I/O
context spinlock. Hence remove that spinlock.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h