diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-10-23 14:22:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-26 16:16:23 -0700 |
commit | ee7a376421dd7bc65b610d42d42c084a0d16d6fa (patch) | |
tree | 7dda26c9d71eefed07ab0ba18645595205f458d6 /drivers/net/bonding | |
parent | 435ccfa894e35e3d4a1799e6ac030e48a7b69ef5 (diff) |
net: hns3: clean up a return in hclge_tm_bp_setup()
Smatch complains that "ret" might be uninitialized if we don't enter
the loop. We do always enter the loop so it's a false positive, but
it's cleaner to just return a literal zero and that silences the
warning as well.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201023112212.GA282278@mwanda
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions