diff options
| author | Zeng Heng <[email protected]> | 2022-09-27 11:43:52 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2022-10-02 15:01:18 +0000 |
| commit | 1e4aa3e18dac1ef3a07a9d0e2662208644bd93de (patch) | |
| tree | b389e9b01d1bcf654a996fe48a3f8c4c4d07b9cd /lib/fault-inject.c | |
| parent | hwmon: w83627hf: Reorder symbols to get rid of a few forward declarations (diff) | |
| download | kernel-1e4aa3e18dac1ef3a07a9d0e2662208644bd93de.tar.gz kernel-1e4aa3e18dac1ef3a07a9d0e2662208644bd93de.zip | |
hwmon: (nct6683) remove unused variable in nct6683_create_attr_group
When enable 'unused-but-set-variable' compile
warning option, it would raise warning as below:
drivers/hwmon/nct6683.c:415:9:
warning: variable 'j' set but not used [-Wunused-but-set-variable]
Variable 'j' in nct6683_create_attr_group is unused,
so remove it and simplify the 'for' loop.
Signed-off-by: Zeng Heng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
