]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove superfluous void * cast in debugfs_create_file() call
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Oct 2019 14:51:47 +0000 (16:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:06:51 +0000 (11:06 -0400)
commita8abe5ae48f1e390123fb38e4a2b11df579adc3e
tree01fc3a609b62d73f130e9644b558651c69c7babd
parentdc3c8d254caffd2a1acbd14abbdfa67ecd678a73
drm/amdgpu: Remove superfluous void * cast in debugfs_create_file() call

There is no need to cast a typed pointer to a void pointer when calling
a function that accepts the latter.  Remove it, as the cast prevents
further compiler checks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c