diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-08 11:00:50 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-01-08 16:05:12 -0500 |
commit | dd3bec8655d6f760540afd2261ca7ae9b6888cb0 (patch) | |
tree | 5b89b50b90df77720a378cb2d59f11f67ec19596 /drivers/infiniband/core/core_priv.h | |
parent | IB/srpt: Introduce srpt_format_guid() (diff) | |
download | linux-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