diff options
| author | Jean Sacren <sakiwit@gmail.com> | 2021-10-12 10:46:45 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 18:42:01 +0300 |
| commit | 50515cac8d0ea2026db2f0cb456bfa51d5e8e85f (patch) | |
| tree | 21d59a0548899a7d07c113b6c5fe81af40ecf31f /include | |
| parent | edce2a93dd781ac13bd7f651ee0b5edb8af6c0e4 (diff) | |
| download | linux-50515cac8d0ea2026db2f0cb456bfa51d5e8e85f.tar.xz | |
net: qed_debug: fix check of false (grc_param < 0) expression
The type of enum dbg_grc_params has the enumerator list starting from 0.
When grc_param is declared by enum dbg_grc_params, (grc_param < 0) is
always false. We should remove the check of this expression.
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Acked-by: Shai Malin <smalin@marvell.com>
Link: https://lore.kernel.org/r/20211012074645.12864-1-sakiwit@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
