diff options
-rw-r--r-- | drivers/target/target_core_sbc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/target/target_core_sbc.c b/drivers/target/target_core_sbc.c index 3929fa201088..b8024219cd4f 100644 --- a/drivers/target/target_core_sbc.c +++ b/drivers/target/target_core_sbc.c | |||
@@ -134,13 +134,7 @@ int spc_get_write_same_sectors(struct se_cmd *cmd) | |||
134 | EXPORT_SYMBOL(spc_get_write_same_sectors); | 134 | EXPORT_SYMBOL(spc_get_write_same_sectors); |
135 | 135 | ||
136 | static sense_reason_t | 136 | static sense_reason_t |
137 | sbc_emulate_verify(struct se_cmd *cmd) | 137 | sbc_emulate_noop(struct se_cmd *cmd) |
138 | { | ||
139 | target_complete_cmd(cmd, GOOD); | ||
140 | return 0; | ||
141 | } | ||
142 | |||
143 | static int sbc_emulate_noop(struct se_cmd *cmd) | ||
144 | { | 138 | { |
145 | target_complete_cmd(cmd, GOOD); | 139 | target_complete_cmd(cmd, GOOD); |
146 | return 0; | 140 | return 0; |
@@ -540,7 +534,7 @@ sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops) | |||
540 | break; | 534 | break; |
541 | case VERIFY: | 535 | case VERIFY: |
542 | size = 0; | 536 | size = 0; |
543 | cmd->execute_cmd = sbc_emulate_verify; | 537 | cmd->execute_cmd = sbc_emulate_noop; |
544 | break; | 538 | break; |
545 | case REZERO_UNIT: | 539 | case REZERO_UNIT: |
546 | case SEEK_6: | 540 | case SEEK_6: |