habanalabs/gaudi2: Remove unnecessary (void*) conversions
authorLi zeming <zeming@nfschina.com>
Mon, 19 Sep 2022 02:20:54 +0000 (10:20 +0800)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 19 Sep 2022 12:08:40 +0000 (15:08 +0300)
commit006fd8cb659bb02789dc1ec48836fff5f348ba8d
treeb125e99ff3123bcdaa3955aa324d40fa4b6ba938
parent0c88760f8f5e13e32f624a1da71144b240b05125
habanalabs/gaudi2: Remove unnecessary (void*) conversions

The void pointer object can be directly assigned to different structure
objects, it does not need to be cast.

Signed-off-by: Li zeming <zeming@nfschina.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi2/gaudi2.c