[U-Boot] [PATCH 2/3] serial: drop serial_register return value

Wolfgang Denk wd at denx.de
Tue Jul 26 16:38:24 CEST 2011


Dear Mike Frysinger,

In message <1304136211-1316-2-git-send-email-vapier at gentoo.org> you wrote:
> The serial_register function never fails (always return 0), so change it
> to a void function to avoid wasting overhead on it.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/serial.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A dog always bit deepest on the veterinary hand.
                                    - Terry Pratchett, _Wyrd Sisters_


More information about the U-Boot mailing list