]> 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)
commitc3fb49da933451366c245a48b88958ecf755cea7
treebae904dddaeeecacbe10e572bd92d629c35ec271
parent5ee44d04544740ad57252aad0352284c3e3599d7
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