]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
serial: remove nulldev_serial_input
authorHeiko Schocher <hs@denx.de>
Wed, 2 Feb 2022 12:53:17 +0000 (13:53 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:30:13 +0000 (12:30 -0700)
nulldev_serial_input is static and not used in this file,
so remove it.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_nulldev.c

index efae14dd6ca55a5f9e284cd7e9f6ee1f41261739..f3ca7f525591ced618825073ebca4d3f829a15f2 100644 (file)
@@ -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;