diff options
| author | Uwe Kleine-König <[email protected]> | 2023-06-05 11:20:25 +0000 |
|---|---|---|
| committer | Li Yang <[email protected]> | 2023-06-08 22:56:26 +0000 |
| commit | fb9c384625dd604e8a5be1f42b35e83104b90670 (patch) | |
| tree | 1e8a7602e1b61bad2348377d3c10f780e67810d8 /scripts/clang-tools/gen_compile_commands.py | |
| parent | bus: fsl-mc: fsl-mc-allocator: Initialize mc_bus_dev before use (diff) | |
| download | kernel-fb9c384625dd604e8a5be1f42b35e83104b90670.tar.gz kernel-fb9c384625dd604e8a5be1f42b35e83104b90670.zip | |
bus: fsl-mc: fsl-mc-allocator: Drop a write-only variable
Fixes a clang compiler warning:
drivers/bus/fsl-mc/fsl-mc-allocator.c:565:6: warning: variable 'free_count' set but not used [-Wunused-but-set-variable]
int free_count = 0;
Fixes: d8e026a44919 ("staging: fsl-mc: remove some superfluous WARN_ONs")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
