commit | 19be606be1df35479333bd04e2cdaddc9d77e38c | [log] [tgz] |
---|---|---|
author | Javier Martinez Canillas <javier@osg.samsung.com> | Thu Oct 13 13:10:08 2016 -0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 08 17:29:48 2016 -0500 |
tree | 01c7ac1836fa1861adf9ba7b88b692f8367502c0 | |
parent | 4e6f767dba1c9a7279b3b24694cdf3b73e00f722 [diff] |
scsi: hpsa: Remove unneeded void pointer cast It's not necessary to cast the result of kmalloc, since void pointers are promoted to any other type. This also fixes following coccinelle warning: casting value returned by memory allocation function to (BIG_IOCTL_Command_struct *) is useless. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>