]> git.baikalelectronics.ru Git - kernel.git/commit
lib/kstrtox.c: remove redundant cleanup
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 23 Jan 2014 23:54:34 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:57 +0000 (16:36 -0800)
commit29cd14016e93ba69dd6148268ba255bc9cae26c5
treea9f2e1c51bf9f16c37520230eee6c050507fbb1d
parent3c26acbd6f91c73b7ee2b7faff2b715b439276a4
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/kstrtox.c