summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-08 22:00:50 +0300
committerDoug Ledford <dledford@redhat.com>2018-01-09 00:05:12 +0300
commitdd3bec8655d6f760540afd2261ca7ae9b6888cb0 (patch)
tree5b89b50b90df77720a378cb2d59f11f67ec19596 /samples
parentb14cb74479a2606b0052cc909727938953a939ac (diff)
downloadlinux-dd3bec8655d6f760540afd2261ca7ae9b6888cb0.tar.xz
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 'samples')
0 files changed, 0 insertions, 0 deletions