summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_st.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-11-14 21:07:15 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-16 12:50:57 -0800
commit548e5ffe2e11d10c54f8425019900c87788fd838 (patch)
tree2ba5684d5f36d57577a27236adcbbd0ca3ebb1d5 /drivers/ata/ahci_st.c
parent26658f6bdb65ff192ff9b4b7ed9f3408d74ceeea (diff)
downloadlinux-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/ata/ahci_st.c')
0 files changed, 0 insertions, 0 deletions