]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: Inline transport_cmd_check_stop()
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 2 Feb 2017 00:58:35 +0000 (16:58 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 9 Feb 2017 08:39:14 +0000 (00:39 -0800)
commitb1a2ecdad72e0a4f0ebdbaff580b5330ebcf68c3
tree5cacbf14e1ebab04a4b088374edba13aeae18202
parent580ab13ac445a2bb717bee995d8639ec6836f78c
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>
drivers/target/target_core_transport.c
include/target/target_core_fabric.h