mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
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>
This commit is contained in:
parent
351567d29c
commit
6d7e7c31ff
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
uint64_t queue, union cvmx_pko_command_word0 pko_command,
|
||||||
union cvmx_buf_ptr packet, cvmx_pko_lock_t use_locking)
|
union cvmx_buf_ptr packet, cvmx_pko_lock_t use_locking)
|
||||||
{
|
{
|
||||||
cvmx_pko_status_t ret = 0;
|
return 0;
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void cvmx_wqe_set_port(struct cvmx_wqe *work, int port)
|
static inline void cvmx_wqe_set_port(struct cvmx_wqe *work, int port)
|
||||||
|
|
Loading…
Reference in a new issue