diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-17 10:59:16 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 14:34:25 +0100 |
commit | 05508339882c7cc1fe3f1f67f72314fdcab979b7 (patch) | |
tree | 2526fdff1f68e321980cc55cb4bc81a867b591d6 /meta-skeleton/conf | |
parent | a57b24f848a7cb89cf57830e07682224f8bbc96f (diff) | |
download | openembedded-core-05508339882c7cc1fe3f1f67f72314fdcab979b7.tar.gz openembedded-core-05508339882c7cc1fe3f1f67f72314fdcab979b7.tar.bz2 openembedded-core-05508339882c7cc1fe3f1f67f72314fdcab979b7.zip |
kernel-yocto: remove redundant SRCREV check
do_validate_branches checks to ensure that a valid machine SRCREV was
set. A test against an empty SRCREV is done in two separate locations,
we only need one, since the first check immediately returns and the
second check never hits.
At the same time, we can stop referring to the same commit hash by
3 different names. Instead we assign to a local variable at the
top of the routine, and refer to it at all times.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-skeleton/conf')
0 files changed, 0 insertions, 0 deletions