aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/core_priv.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-08 11:00:50 -0800
committerDoug Ledford <dledford@redhat.com>2018-01-08 16:05:12 -0500
commitdd3bec8655d6f760540afd2261ca7ae9b6888cb0 (patch)
tree5b89b50b90df77720a378cb2d59f11f67ec19596 /drivers/infiniband/core/core_priv.h
parentIB/srpt: Introduce srpt_format_guid() (diff)
downloadlinux-dev-dd3bec8655d6f760540afd2261ca7ae9b6888cb0.tar.xz
linux-dev-dd3bec8655d6f760540afd2261ca7ae9b6888cb0.zip
IB/srpt: Inline srpt_get_cmd_state()
It is not necessary to obtain ioctx->spinlock when reading the ioctx state. Since after removal of this locking only a single line remains, inline the srpt_get_cmd_state() function. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/core_priv.h')
0 files changed, 0 insertions, 0 deletions