]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] 3w-9xxx, 3w-xxxx: memset not needed in probe
authorDenis Cheng <crquan@gmail.com>
Tue, 4 Mar 2008 23:24:23 +0000 (15:24 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:18:59 +0000 (12:18 -0500)
commitccde6b8d6217834def292030a1864d517f55ded5
tree0b39f61a075d8a5eb7428943d5d80748b1986f15
parent0b6c4b14cfb2fd89064d29bdead62f9ed8631399
[SCSI] 3w-9xxx, 3w-xxxx: memset not needed in probe

The memory return from scsi_host_alloc is alloced by kzalloc, which is
already zero initilized, so memset not needed.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Cc: Adam Radford <linuxraid@amcc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/3w-9xxx.c
drivers/scsi/3w-xxxx.c