diff options
author | Jörn Engel <joern@logfs.org> | 2011-11-24 02:04:42 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 11:27:34 +0000 |
commit | c165f69c2ccbbb4ecf16c5d29d65922286bf62ff (patch) | |
tree | 2899166c0d1354cb37346c6b4d8b417f60a55c21 /drivers/target/target_core_pr.c | |
parent | 90c161b643d9531d271110876a14e68b49172d8a (diff) | |
download | linux-c165f69c2ccbbb4ecf16c5d29d65922286bf62ff.tar.bz2 |
target: Move core_scsi3_check_cdb_abort_and_preempt
And make it static afterwards.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pr.c')
-rw-r--r-- | drivers/target/target_core_pr.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c index d2b73b3f4e6c..429ad7291664 100644 --- a/drivers/target/target_core_pr.c +++ b/drivers/target/target_core_pr.c @@ -2981,21 +2981,6 @@ static void core_scsi3_release_preempt_and_abort( } } -int core_scsi3_check_cdb_abort_and_preempt( - struct list_head *preempt_and_abort_list, - struct se_cmd *cmd) -{ - struct t10_pr_registration *pr_reg, *pr_reg_tmp; - - list_for_each_entry_safe(pr_reg, pr_reg_tmp, preempt_and_abort_list, - pr_reg_abort_list) { - if (pr_reg->pr_res_key == cmd->pr_res_key) - return 0; - } - - return 1; -} - static int core_scsi3_pro_preempt( struct se_cmd *cmd, int type, |