diff options
| author | Mike Rapoport <[email protected]> | 2025-05-17 09:30:48 +0000 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <[email protected]> | 2025-06-07 13:16:41 +0000 |
| commit | 8a3682601ddaa4ef0c400f627a7f4b9388bbccef (patch) | |
| tree | 2c3aeb8d7e34489457206552f3915d74abdb0f7b /drivers/gpu/drm/meson/meson_encoder_hdmi.c | |
| parent | sh: ecovec24: Make SPI mode explicit (diff) | |
| download | kernel-8a3682601ddaa4ef0c400f627a7f4b9388bbccef.tar.gz kernel-8a3682601ddaa4ef0c400f627a7f4b9388bbccef.zip | |
sh: kprobes: Remove unused variables in kprobe_exceptions_notify()
kbuild reports the following warning:
arch/sh/kernel/kprobes.c: In function 'kprobe_exceptions_notify':
>> arch/sh/kernel/kprobes.c:412:24: warning: variable 'p' set but not used [-Wunused-but-set-variable]
412 | struct kprobe *p = NULL;
| ^
The variable 'p' is indeed unused since the commit fa5a24b16f94
("sh/kprobes: Don't call the ->break_handler() in SH kprobes code")
Remove that variable along with 'kprobe_opcode_t *addr' which also
becomes unused after 'p' is removed.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: fa5a24b16f94 ("sh/kprobes: Don't call the ->break_handler() in SH kprobes code")
Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
Reviewed-by: John Paul Adrian Glaubitz <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_encoder_hdmi.c')
0 files changed, 0 insertions, 0 deletions
