target: Inline transport_get_sense_codes()
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 8 Jul 2015 14:58:50 +0000 (17:58 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 24 Jul 2015 05:08:33 +0000 (22:08 -0700)
commit46d5bd62ef9e3d6e2018963cbb725c91f864922d
treeef3bc461a06f8063a2267ad3e6cdc2736b7a50c3
parente986a35aba67558381d5cec59a14c4d0b20f0d47
target: Inline transport_get_sense_codes()

Inline this function in its call site since it performs a trivial
task and since it is only called once.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c