]> git.itanic.dy.fi Git - linux-stable/commit
hexagon: vm_events: remove unused dummy_handler()
authorNathan Chancellor <nathan@kernel.org>
Thu, 30 Nov 2023 22:58:29 +0000 (15:58 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:37 +0000 (17:21 -0800)
commitd9f85d8be96900f659167a637686257e7176ce0e
treeb7052d0253e3ae2fdcc668add9f1817931b1f3eb
parentd75eb3344ef1888885fcace3d34f3aceafee9aae
hexagon: vm_events: remove unused dummy_handler()

Clang warns:

  arch/hexagon/kernel/vm_events.c:76:6: warning: no previous prototype for function 'dummy_handler' [-Wmissing-prototypes]
     76 | void dummy_handler(struct pt_regs *regs)
        |      ^
  arch/hexagon/kernel/vm_events.c:76:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     76 | void dummy_handler(struct pt_regs *regs)
        | ^
        | static

This function appears to be entirely unused, so remove it.

Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-16-5c34714afe9e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/hexagon/kernel/vm_events.c