net: qed: remove unneeded return variables
authorJason Wang <wangborong@cdjrlc.com>
Sun, 25 Jul 2021 15:13:53 +0000 (23:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 10:55:19 +0000 (11:55 +0100)
commitef17e2ac2183cb2107e68d489127a6176ede3339
treefc89152b528c9cbd719769cd5bf0cae209026331
parentd4b996f9ef1fe83d9ce9ad5c1ca0bd8231638ce5
net: qed: remove unneeded return variables

Some return variables are never changed until function returned.
These variables are unneeded for their functions. Therefore, the
unneeded return variables can be removed safely by returning their
initial values.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c