kconfig/nconf: remove useless conditionnal
authorArnaud Lacombe <lacombar@gmail.com>
Sun, 10 Jul 2011 07:27:33 +0000 (03:27 -0400)
committerMichal Marek <mmarek@suse.cz>
Wed, 13 Jul 2011 11:54:01 +0000 (13:54 +0200)
commita1e806550e566e987e06561873ab8276ee54d130
tree3a21c4c542913dfbd5e4206b3955e62a2aa0ef22
parentf98ee76955f883abf2ea2a5e5b43deab01734f47
kconfig/nconf: remove useless conditionnal

After the test

if (!submenu || ...)
continue;

the variable `submenu' can _not_ be NULL, so do not test for this
situation.

Cc: Nir Tzachar <nir.tzachar@gmail.com>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/nconf.c