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)
commit8c64415cc1f5794c02b95dee10084fa8a4ee3cfe
treebae904dddaeeecacbe10e572bd92d629c35ec271
parent89c9fea3c8034cdb2fd745f551cde0b507fd6893
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