On Tue, Apr 11, 2017 at 08:39:34AM +0200, Sascha Hauer wrote: > toupper() does the right thing, no need to test for islower() > beforehand, so > > islower(*cp) ? toupper(*cp) : *cp > > can be simplified to: > > toupper(*cp) > > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de> Acked-by: Sam Ravnborg <sam at ravnborg.org>