From: Krzysztof Jackiewicz Date: Wed, 23 Oct 2024 13:15:08 +0000 (+0200) Subject: Remove unused code X-Git-Tag: accepted/tizen/unified/20241030.154513~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16d4dc199acd3d73ca7ef3284e6ae1221454120c;p=platform%2Fcore%2Fsecurity%2Fsecurity-manager.git Remove unused code Change-Id: Ib0423186dc3183ecedb519600922995d438bf2b8 --- diff --git a/src/common/service_impl.cpp b/src/common/service_impl.cpp index f86daf09..95f00248 100644 --- a/src/common/service_impl.cpp +++ b/src/common/service_impl.cpp @@ -2407,9 +2407,6 @@ int ServiceImpl::prepareApp(const Credentials &creds, const std::string &appName LogWarning("GetPkgAuthorHash returned : " << authorHash); - std::vector pkgLabels; - getPkgLabels(pkgName, pkgLabels); - if (m_smackRules.isPrivilegeMappingEnabled()) { // We have to remove all possible privilege related Smack rules, because application // policy might have changed from last prepareApp