[PATCH] serial: remove nulldev_serial_input
Heiko Schocher
hs at denx.de
Wed Feb 2 13:53:17 CET 2022
nulldev_serial_input is static and not used in this file,
so remove it.
Signed-off-by: Heiko Schocher <hs at denx.de>
---
azure build is clean
https://dev.azure.com/hs0298/hs/_build/results?buildId=78&view=results
drivers/serial/serial_nulldev.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/serial/serial_nulldev.c b/drivers/serial/serial_nulldev.c
index efae14dd6c..f3ca7f5255 100644
--- a/drivers/serial/serial_nulldev.c
+++ b/drivers/serial/serial_nulldev.c
@@ -22,11 +22,6 @@ static int nulldev_serial_pending(struct udevice *dev, bool input)
return 0;
}
-static int nulldev_serial_input(struct udevice *dev)
-{
- return 0;
-}
-
static int nulldev_serial_putc(struct udevice *dev, const char ch)
{
return 0;
--
2.34.1
More information about the U-Boot
mailing list