commit | 33912d73487899bfbfc8edb5f3d586ba2b15ceb9 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Thu Feb 11 11:04:43 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Mon Feb 29 17:12:35 2016 -0500 |
tree | 7a989f46a1e55eda67cb7b01f883e696f0cc1328 | |
parent | f68cba4e9f7cdd3808631af286cc3244c5e57dab [diff] |
IB/srpt: Inline srpt_get_ch_state() The callers of srpt_get_ch_state() can access ch->state safely without using locking. Hence inline this function. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Cc: Alex Estrin <alex.estrin@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>