scsi: Remove unnecessary casts of void ptr returning alloc function return values
authorJesper Juhl <jj@chaosbits.net>
Mon, 8 Nov 2010 23:09:25 +0000 (00:09 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 19 Jan 2011 14:26:40 +0000 (15:26 +0100)
commit2099973abfb96f98290d52de24940561e29bbeea
treea54134b6137622a3deafa2bdfe5e30249003e1af
parent1dcb202f42d0483d8d24015d8ded3badc1d11e2e
scsi: Remove unnecessary casts of void ptr returning alloc function return values

The [vk][cmz]alloc(_node) family of functions return void pointers which
it's completely unnecessary/pointless to cast to other pointer types since
that happens implicitly.

This patch removes such casts from drivers/scsi/

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/osst.c