OSDN Git Service

misc: ti-st: remove forward declarations and make st_int_recv() static
authorJiri Slaby <jirislaby@kernel.org>
Mon, 31 Jul 2023 08:02:42 +0000 (10:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jul 2023 15:16:05 +0000 (17:16 +0200)
commit99037697410f4df41558fc4227a9141dc1e24f59
tree12f0adedf3e1d32af1ac15ec83935f9681f19ec1
parent6dc6657d890f5e4b45377e2bba8a437cafd0e750
misc: ti-st: remove forward declarations and make st_int_recv() static

st_kim_recv() is already declared in linux/ti_wilink_st.h. Given that is
already included in st_core.c, drop the re-declaration from there.

st_int_recv() is used only in st_core.c and the forward declaration is
not needed. So drop the declaration and make the function static.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230731080244.2698-9-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_core.c