Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c64415c authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Remove redundant tests in boot_flags_init().



The test:

	*commands && *commands == ' '

is equivalent to:

	*commands == ' '

Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 89c9fea3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ static void __init boot_flags_init(char *commands)
{
	while (*commands) {
		/* Move to the start of the next "argument". */
		while (*commands && *commands == ' ')
		while (*commands == ' ')
			commands++;

		/* Process any command switches, otherwise skip it. */
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ static void __init boot_flags_init(char *commands)
{
	while (*commands) {
		/* Move to the start of the next "argument". */
		while (*commands && *commands == ' ')
		while (*commands == ' ')
			commands++;

		/* Process any command switches, otherwise skip it. */