]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: Remove redundant tests in boot_flags_init().
authorDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:28:48 +0000 (08:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:28:48 +0000 (08:28 -0700)
commitb146cad6228918b85de882c58c85abdc4e2ada4b
treebae904dddaeeecacbe10e572bd92d629c35ec271
parent6a711a01e1bdf65fbe08f10731a2e44ee744f97a
sparc: Remove redundant tests in boot_flags_init().

The test:

*commands && *commands == ' '

is equivalent to:

*commands == ' '

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/setup_32.c
arch/sparc/kernel/setup_64.c