diff options
Diffstat (limited to 'drivers/target/loopback/tcm_loop.c')
| -rw-r--r-- | drivers/target/loopback/tcm_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index e30932f989a1..120a851df0d7 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
| @@ -407,7 +407,6 @@ static int tcm_loop_slave_alloc(struct scsi_device *sd) | |||
| 407 | static int tcm_loop_slave_configure(struct scsi_device *sd) | 407 | static int tcm_loop_slave_configure(struct scsi_device *sd) |
| 408 | { | 408 | { |
| 409 | if (sd->tagged_supported) { | 409 | if (sd->tagged_supported) { |
| 410 | scsi_activate_tcq(sd, sd->queue_depth); | ||
| 411 | scsi_adjust_queue_depth(sd, MSG_SIMPLE_TAG, | 410 | scsi_adjust_queue_depth(sd, MSG_SIMPLE_TAG, |
| 412 | sd->host->cmd_per_lun); | 411 | sd->host->cmd_per_lun); |
| 413 | } else { | 412 | } else { |
| @@ -437,6 +436,7 @@ static struct scsi_host_template tcm_loop_driver_template = { | |||
| 437 | .slave_alloc = tcm_loop_slave_alloc, | 436 | .slave_alloc = tcm_loop_slave_alloc, |
| 438 | .slave_configure = tcm_loop_slave_configure, | 437 | .slave_configure = tcm_loop_slave_configure, |
| 439 | .module = THIS_MODULE, | 438 | .module = THIS_MODULE, |
| 439 | .use_blk_tags = 1, | ||
| 440 | }; | 440 | }; |
| 441 | 441 | ||
| 442 | static int tcm_loop_driver_probe(struct device *dev) | 442 | static int tcm_loop_driver_probe(struct device *dev) |
