staging/rtl8192e: Remove function callback casts
authorOscar Carter <oscar.carter@gmx.com>
Sun, 24 May 2020 09:15:15 +0000 (11:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 08:16:34 +0000 (10:16 +0200)
commit671ec4a59e11b9b024a0d926acd82476b4082a6b
treeacc14eb24d9bfaf391442d4dbc2e0d6dd1da5aa3
parenta069cd178f63374327ded3cb1a279a317fe65496
staging/rtl8192e: Remove function callback casts

In an effort to enable -Wcast-function-type in the top-level Makefile to
support Control Flow Integrity builds, remove all the function callback
casts.

To do this modify the function prototypes accordingly.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200524091515.21799-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c