]> code.ossystems Code Review - openembedded-core.git/commit
create-spdx: remove redundant test
authorRoss Burton <ross@burtonini.com>
Fri, 3 Sep 2021 16:00:31 +0000 (17:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Sep 2021 17:10:54 +0000 (18:10 +0100)
commit03f084251510c810c8434d9ddd459187827c1ca8
treef83b42d166298ba2bb0d2ad0f28ec07583c4031a
parent3405d9114ca9fe4ba820e0025c91670d1a5150b1
create-spdx: remove redundant test

add_extracted_document() is only called if the license isn't known to
SPDX, so there's no need to check again.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/create-spdx.bbclass