package: Drop unused function and obsolete comment

The function appears unused and the comment obsolete, drop them.

(From OE-Core rev: f3745718f8ec3bbed9816bf3d891e9885f8518b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2023-01-04 14:18:19 +00:00
parent e4f17fd72d
commit ab8c9d503e

View File

@@ -243,18 +243,6 @@ python () {
d.appendVarFlag('do_package', 'deptask', " do_packagedata")
}
def checkbuildpath(file, d):
tmpdir = d.getVar('TMPDIR')
with open(file) as f:
file_content = f.read()
if tmpdir in file_content:
return True
return False
#
# Used by do_packagedata (and possibly other routines post do_package)
#
PRSERV_ACTIVE = "${@bool(d.getVar("PRSERV_HOST"))}"
PRSERV_ACTIVE[vardepvalue] = "${PRSERV_ACTIVE}"