summaryrefslogtreecommitdiff
path: root/meta-skeleton/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-03-17 10:59:16 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-01 14:34:25 +0100
commit05508339882c7cc1fe3f1f67f72314fdcab979b7 (patch)
tree2526fdff1f68e321980cc55cb4bc81a867b591d6 /meta-skeleton/recipes-kernel
parenta57b24f848a7cb89cf57830e07682224f8bbc96f (diff)
downloadopenembedded-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/recipes-kernel')
0 files changed, 0 insertions, 0 deletions