diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 58dcb0534a26..cab535809d0d 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -614,8 +614,6 @@ static struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd *cmd, int gfp_mas | |||
614 | 614 | ||
615 | sgp = scsi_sg_pools + cmd->sglist_len; | 615 | sgp = scsi_sg_pools + cmd->sglist_len; |
616 | sgl = mempool_alloc(sgp->pool, gfp_mask); | 616 | sgl = mempool_alloc(sgp->pool, gfp_mask); |
617 | if (sgl) | ||
618 | memset(sgl, 0, sgp->size); | ||
619 | return sgl; | 617 | return sgl; |
620 | } | 618 | } |
621 | 619 | ||