staging: rts_pstor: dont cast void* from kmalloc()
authorThomas Meyer <thomas@m3y3r.de>
Sat, 13 Aug 2011 09:27:10 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:22:58 +0000 (15:22 -0700)
commita5232bde8449b28230f767e8b558021bb5d08e5c
tree18be5c5567e792c9ab74300db94cb5c66a30523e
parent8c670f4d157bcaba0001455ace554572b9b417ef
staging: rts_pstor: dont cast void* from kmalloc()

 Casting (void *) value returned by kmalloc is useless
 as mentioned in Documentation/CodingStyle, Chap 14.

 The semantic patch that makes this output is available
 in scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci.

 More information about semantic patching is available at
 http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rts_pstor/rtsx_scsi.c