]> www.infradead.org Git - users/dwmw2/linux.git/commit
drivers/tty/serial: Remove unused function early_mcf_setup
authorThomas Huth <thuth@redhat.com>
Mon, 19 Feb 2024 16:40:02 +0000 (17:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Mar 2024 20:52:35 +0000 (21:52 +0100)
commitf75a010dcba0270c403cb680a0c662293dd98a60
treeba4aed7955f496df93adba75434c375f3f03089c
parentd676822a714af27e346407a4054cb2846d1ab0e5
drivers/tty/serial: Remove unused function early_mcf_setup

Compiling a kernel for the ColdFire causes a compiler warning:

drivers/tty/serial/mcf.c:473:12: warning: no previous prototype for
 ‘early_mcf_setup’ [-Wmissing-prototypes]
  473 | int __init early_mcf_setup(struct mcf_platform_uart *platp)
      |            ^~~~~~~~~~~~~~~

This function seems to be completely unused, so let's remove it
to silence the warning.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20240219164002.520342-1-thuth@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mcf.c