]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: rtl8188eu: os_dep: Remove useless cast on kzalloc
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Tue, 21 Oct 2014 04:18:01 +0000 (09:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 04:20:44 +0000 (12:20 +0800)
commitb312fb06b50b2aed3e75527fa74bc475dfb57cd6
tree75bd908be333e650359ef6423ab9a397aa1e37d4
parentc8cb5f2c780a6003fcf76eb3ac1675fbb090ecd8
staging: rtl8188eu: os_dep: Remove useless cast on kzalloc

Casting rhe return value which is a void pointer is redundant.
The conversion from void pointer to any other pointer type is
guaranteed by the C programming language, as mentioned in
Documentation/CodingStyle, Chap 14.

Removed the cast on kzalloc return value.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/osdep_service.c