diff options
author | Cristiane Naves <cristianenavescardoso09@gmail.com> | 2019-10-26 19:24:53 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-27 08:15:43 +0100 |
commit | 6d7e7c31ff9d67d10ea6bd0ea3410027ce065126 (patch) | |
tree | 96869364fcddfe9b7ee480b31da394561c5d6479 /drivers/staging/octeon | |
parent | 351567d29c56ef6343f73a88e8982438481537e8 (diff) |
staging: octeon: Remove unneeded variable
Remove unneeded variable used to store return value. Issue found by
coccicheck.
Signed-off-by: Cristiane Naves <cristianenavescardoso09@gmail.com>
Link: https://lore.kernel.org/r/20191026222453.GA14562@cristiane-Inspiron-5420
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon')
-rw-r--r-- | drivers/staging/octeon/octeon-stubs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h index b07f5e24acbc..d53bd801f440 100644 --- a/drivers/staging/octeon/octeon-stubs.h +++ b/drivers/staging/octeon/octeon-stubs.h @@ -1387,9 +1387,7 @@ static inline cvmx_pko_status_t cvmx_pko_send_packet_finish(uint64_t port, uint64_t queue, union cvmx_pko_command_word0 pko_command, union cvmx_buf_ptr packet, cvmx_pko_lock_t use_locking) { - cvmx_pko_status_t ret = 0; - - return ret; + return 0; } static inline void cvmx_wqe_set_port(struct cvmx_wqe *work, int port) |