Commit 1ef4cac
bnxt_en: Remove unneeded variable in bnxt_hwrm_clear_vnic_filter()
After recent refactoring, this function doesn't return error any
more. Remove the unneeded rc variable and change the function to
void. The caller is not checking for the return value.
Fixes: 96c9bed ("bnxt_en: Refactor L2 filter alloc/free firmware commands.")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401041942.qrB1amZM-lkp@intel.com/
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240105235439.28282-2-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent b59db45 commit 1ef4cac
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5752 | 5752 | | |
5753 | 5753 | | |
5754 | 5754 | | |
5755 | | - | |
| 5755 | + | |
5756 | 5756 | | |
5757 | 5757 | | |
5758 | | - | |
5759 | 5758 | | |
5760 | 5759 | | |
5761 | 5760 | | |
| |||
5769 | 5768 | | |
5770 | 5769 | | |
5771 | 5770 | | |
5772 | | - | |
5773 | | - | |
5774 | 5771 | | |
5775 | 5772 | | |
5776 | 5773 | | |
| |||
0 commit comments