commit | 548e5ffe2e11d10c54f8425019900c87788fd838 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Nov 14 21:07:15 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 16 12:50:57 2019 -0800 |
tree | 2ba5684d5f36d57577a27236adcbbd0ca3ebb1d5 | |
parent | 26658f6bdb65ff192ff9b4b7ed9f3408d74ceeea [diff] |
bnx2x: Remove hw_reset_t function casts All .rw_reset callbacks except bnx2x_84833_hw_reset_phy() use a void return type. No callers of .hw_reset check a return value and bnx2x_84833_hw_reset_phy() unconditionally returns 0. Remove all hw_reset_t casts and fix the return type to void. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>