diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-08 22:00:50 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-01-09 00:05:12 +0300 |
commit | dd3bec8655d6f760540afd2261ca7ae9b6888cb0 (patch) | |
tree | 5b89b50b90df77720a378cb2d59f11f67ec19596 /drivers/gpio/gpio-lynxpoint.c | |
parent | b14cb74479a2606b0052cc909727938953a939ac (diff) | |
download | linux-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 'drivers/gpio/gpio-lynxpoint.c')
0 files changed, 0 insertions, 0 deletions