diff options
Diffstat (limited to 'drivers/target/target_core_rd.c')
-rw-r--r-- | drivers/target/target_core_rd.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/target/target_core_rd.c b/drivers/target/target_core_rd.c index daf95dbe12ec..5158d3846f19 100644 --- a/drivers/target/target_core_rd.c +++ b/drivers/target/target_core_rd.c | |||
@@ -691,17 +691,6 @@ static ssize_t rd_show_configfs_dev_params( | |||
691 | return bl; | 691 | return bl; |
692 | } | 692 | } |
693 | 693 | ||
694 | /* rd_get_cdb(): (Part of se_subsystem_api_t template) | ||
695 | * | ||
696 | * | ||
697 | */ | ||
698 | static unsigned char *rd_get_cdb(struct se_task *task) | ||
699 | { | ||
700 | struct rd_request *req = RD_REQ(task); | ||
701 | |||
702 | return req->rd_scsi_cdb; | ||
703 | } | ||
704 | |||
705 | static u32 rd_get_device_rev(struct se_device *dev) | 694 | static u32 rd_get_device_rev(struct se_device *dev) |
706 | { | 695 | { |
707 | return SCSI_SPC_2; /* Returns SPC-3 in Initiator Data */ | 696 | return SCSI_SPC_2; /* Returns SPC-3 in Initiator Data */ |
@@ -735,7 +724,6 @@ static struct se_subsystem_api rd_mcp_template = { | |||
735 | .check_configfs_dev_params = rd_check_configfs_dev_params, | 724 | .check_configfs_dev_params = rd_check_configfs_dev_params, |
736 | .set_configfs_dev_params = rd_set_configfs_dev_params, | 725 | .set_configfs_dev_params = rd_set_configfs_dev_params, |
737 | .show_configfs_dev_params = rd_show_configfs_dev_params, | 726 | .show_configfs_dev_params = rd_show_configfs_dev_params, |
738 | .get_cdb = rd_get_cdb, | ||
739 | .get_device_rev = rd_get_device_rev, | 727 | .get_device_rev = rd_get_device_rev, |
740 | .get_device_type = rd_get_device_type, | 728 | .get_device_type = rd_get_device_type, |
741 | .get_blocks = rd_get_blocks, | 729 | .get_blocks = rd_get_blocks, |