commit | 86c1fe8857afb379522fd8dabce9d348672c31c1 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Nov 14 21:07:11 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 16 12:50:57 2019 -0800 |
tree | 157c9104e6ca2d496b34e116c7bd68d18b901a13 | |
parent | 2e47cb415f0a0ec6555d71598361e90f8c144fb2 [diff] |
bnx2x: Drop redundant callback function casts NULL is already "void *" so it will auto-cast in assignments and initializers. Additionally, all the callbacks for .link_reset, .config_loopback, .set_link_led, and .phy_specific_func are already correct. No casting is needed for these, so remove them. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>