diff options
author | Kees Cook <keescook@chromium.org> | 2019-11-14 21:07:15 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-16 12:50:57 -0800 |
commit | 548e5ffe2e11d10c54f8425019900c87788fd838 (patch) | |
tree | 2ba5684d5f36d57577a27236adcbbd0ca3ebb1d5 /drivers/xen/privcmd.h | |
parent | 26658f6bdb65ff192ff9b4b7ed9f3408d74ceeea (diff) | |
download | linux-548e5ffe2e11d10c54f8425019900c87788fd838.tar.bz2 |
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>
Diffstat (limited to 'drivers/xen/privcmd.h')
0 files changed, 0 insertions, 0 deletions