[PATCH] parseopt: drop unused, duplicate, parseopt_u16

Sascha Hauer sha at pengutronix.de
Wed Jan 5 00:01:35 PST 2022


On Mon, Jan 03, 2022 at 01:02:05PM +0100, Ahmad Fatoum wrote:
> We always have sizeof(unsigned short) == sizeof(uint16_t), so
> parseopt_u16() is exactly equivalent to parseopt_hu().
> 
> The former is unused anyway, so just drop it.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  include/parseopt.h |  1 -
>  lib/parseopt.c     | 31 -------------------------------
>  2 files changed, 32 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list