diff options
| author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-10-13 13:10:08 -0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:48 -0500 |
| commit | 19be606be1df35479333bd04e2cdaddc9d77e38c (patch) | |
| tree | 01c7ac1836fa1861adf9ba7b88b692f8367502c0 /tools/perf/scripts/python/bin | |
| parent | 4e6f767dba1c9a7279b3b24694cdf3b73e00f722 (diff) | |
| download | linux-19be606be1df35479333bd04e2cdaddc9d77e38c.tar.gz linux-19be606be1df35479333bd04e2cdaddc9d77e38c.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
