summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect/imx
diff options
context:
space:
mode:
authorDaniel T. Lee <danieltimlee@gmail.com>2022-12-18 07:14:52 +0100
committerMartin KaFai Lau <martin.lau@kernel.org>2022-12-19 23:21:05 +0100
commit71135b77aac75769f6dae81ac4725405f1015d22 (patch)
treea6635a80c7e1ac3eb5bba64a534532084650ed6a /drivers/interconnect/imx
parentsamples/bpf: remove unused function with test_lru_dist (diff)
downloadlinux-71135b77aac75769f6dae81ac4725405f1015d22.tar.xz
linux-71135b77aac75769f6dae81ac4725405f1015d22.zip
samples/bpf: replace meaningless counter with tracex4
Currently, compiling samples/bpf with LLVM warns about the unused but set variable with tracex4_user. ./samples/bpf/tracex4_user.c:54:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] int map_fd, i, j = 0; ^ 1 warning generated. This commit resolve this compiler warning by replacing the meaningless counter. Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/r/20221218061453.6287-3-danieltimlee@gmail.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'drivers/interconnect/imx')
0 files changed, 0 insertions, 0 deletions