]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: atari: Remove unneeded casts to void *
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Jul 2022 15:50:30 +0000 (17:50 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 18 Jul 2022 05:56:18 +0000 (07:56 +0200)
commit9f2723d1a3115dc6feeb1d22a785fbed02cc2d0a
tree199a9dc7a1f0f05b24f267243b22e6f6fd188e60
parent0141f4c649dd0d86f76e0c2038a6f4f2d42cc7c7
video: fbdev: atari: Remove unneeded casts to void *

Arbitrary pointers can be passed to functions accepting "void *" without
casting.

Remove the casts, as they make it impossible to validate types.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/atafb.c