From: Tomasz Swierczek Date: Wed, 28 May 2025 10:28:24 +0000 (+0200) Subject: Remove unnecessary code X-Git-Tag: accepted/tizen/unified/20250610.081842~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59db48175ba99aea5fc4f04ee4c155302642a05e;p=platform%2Fcore%2Fsecurity%2Fsecurity-manager.git Remove unnecessary code Change-Id: I96846eefba9f6bb421adacfbbaca73fba876f53b --- diff --git a/src/common/permissible-set.cpp b/src/common/permissible-set.cpp index 644eca29..59fec4dc 100644 --- a/src/common/permissible-set.cpp +++ b/src/common/permissible-set.cpp @@ -57,9 +57,6 @@ #include #include #include -#include - -#include "tzplatform-config.h" namespace SecurityManager { namespace PermissibleSet { @@ -100,7 +97,6 @@ static void openAndLockNameFile(const std::string &nameFile, T &fstream) std::string getPermissibleFileLocation(uid_t uid, app_install_type installationType) { - TizenPlatformConfig tpc(uid); if ((installationType == SM_APP_INSTALL_GLOBAL) || (installationType == SM_APP_INSTALL_PRELOADED)) return std::string(LOCAL_STATE_INSTALL_DIR) + "/" + APPS_LABELS_FILE;