bnx2x: Remove config_init_t function casts

No callers of .config_init check return values. Remove the casting and
change all callbacks to have the correct function prototype.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Kees Cook 2019-11-14 21:07:13 -08:00 • committed by David S. Miller
commit 3e19d1f265
2 changed files with 48 additions and 61 deletions