linux/include/target
Bart Van Assche b1a2ecdad7 target: Inline transport_cmd_check_stop()
The function transport_cmd_check_stop() has two callers. These callers
invoke this function as follows:
* transport_cmd_check_stop(cmd, true, false)
* transport_cmd_check_stop(cmd, false, true)
Hence inline this function into its callers.

This patch does not change any functionality but improves source
code readability.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2017-02-09 00:39:14 -08:00
..
iscsi target: Minimize #include directives 2016-12-09 10:22:28 -08:00
target_core_backend.h target: Minimize #include directives 2016-12-09 10:22:28 -08:00
target_core_base.h target: Remove se_tmr_req.tmr_lun 2017-02-09 00:39:10 -08:00
target_core_fabric.h target: Inline transport_cmd_check_stop() 2017-02-09 00:39:14 -08:00