u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] serial: remove nulldev_serial_input
@ 2022-02-02 12:53 Heiko Schocher
  2022-02-08 15:13 ` Simon Glass
  2022-02-08 20:39 ` Simon Glass
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Schocher @ 2022-02-02 12:53 UTC (permalink / raw)
  To: U-Boot Mailing List; +Cc: Heiko Schocher

nulldev_serial_input is static and not used in this file,
so remove it.

Signed-off-by: Heiko Schocher <hs@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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] serial: remove nulldev_serial_input
  2022-02-02 12:53 [PATCH] serial: remove nulldev_serial_input Heiko Schocher
@ 2022-02-08 15:13 ` Simon Glass
  2022-02-08 20:39 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2022-02-08 15:13 UTC (permalink / raw)
  To: Heiko Schocher; +Cc: U-Boot Mailing List

On Wed, 2 Feb 2022 at 05:53, Heiko Schocher <hs@denx.de> wrote:
>
> nulldev_serial_input is static and not used in this file,
> so remove it.
>
> Signed-off-by: Heiko Schocher <hs@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(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] serial: remove nulldev_serial_input
  2022-02-02 12:53 [PATCH] serial: remove nulldev_serial_input Heiko Schocher
  2022-02-08 15:13 ` Simon Glass
@ 2022-02-08 20:39 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2022-02-08 20:39 UTC (permalink / raw)
  To: Simon Glass; +Cc: U-Boot Mailing List, Heiko Schocher

On Wed, 2 Feb 2022 at 05:53, Heiko Schocher <hs@denx.de> wrote:
>
> nulldev_serial_input is static and not used in this file,
> so remove it.
>
> Signed-off-by: Heiko Schocher <hs@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(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-08 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 12:53 [PATCH] serial: remove nulldev_serial_input Heiko Schocher
2022-02-08 15:13 ` Simon Glass
2022-02-08 20:39 ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).