diff options
Diffstat (limited to 'drivers/scsi/ibmvscsi')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index b580af95956b..d91837caa42b 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -408,13 +408,6 @@ static int map_sg_data(struct scsi_cmnd *cmd, | |||
408 | return 1; | 408 | return 1; |
409 | } | 409 | } |
410 | 410 | ||
411 | if (sg_mapped > SG_ALL) { | ||
412 | printk(KERN_ERR | ||
413 | "ibmvscsi: More than %d mapped sg entries, got %d\n", | ||
414 | SG_ALL, sg_mapped); | ||
415 | return 0; | ||
416 | } | ||
417 | |||
418 | indirect->table_desc.va = 0; | 411 | indirect->table_desc.va = 0; |
419 | indirect->table_desc.len = sg_mapped * sizeof(struct srp_direct_buf); | 412 | indirect->table_desc.len = sg_mapped * sizeof(struct srp_direct_buf); |
420 | indirect->table_desc.key = 0; | 413 | indirect->table_desc.key = 0; |