]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/kstrtox.c: remove redundant cleanup
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 3 Jan 2014 03:10:15 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:15 +0000 (14:10 +1100)
commitbb296255a185f386828597b8799d2514d250d821
tree1d71af28d6a33c4f1cad804d0689efc892a248cb
parent4e257dff691d7e2ec51e7f8327db5a974543b0c1
lib/kstrtox.c: remove redundant cleanup

We can't reach the cleanup code unless the flag KSTRTOX_OVERFLOW is not
set, so there's not no point in clearing a bit that we know is not set.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Levente Kurusa <levex@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/kstrtox.c