diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 756ac7c93de0..aa9fc572e45f 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -1088,7 +1088,6 @@ int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) | |||
1088 | return ret; | 1088 | return ret; |
1089 | } else { | 1089 | } else { |
1090 | BUG_ON(req->data_len); | 1090 | BUG_ON(req->data_len); |
1091 | BUG_ON(req->data); | ||
1092 | 1091 | ||
1093 | memset(&cmd->sdb, 0, sizeof(cmd->sdb)); | 1092 | memset(&cmd->sdb, 0, sizeof(cmd->sdb)); |
1094 | req->buffer = NULL; | 1093 | req->buffer = NULL; |