Remove unnecessary code 99/324899/3
authorTomasz Swierczek <t.swierczek@samsung.com>
Wed, 28 May 2025 10:28:24 +0000 (12:28 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 4 Jun 2025 12:26:01 +0000 (12:26 +0000)
Change-Id: I96846eefba9f6bb421adacfbbaca73fba876f53b

src/common/permissible-set.cpp

index 644eca2992b95b75915adf70007830d7ffe484e0..59fec4dc46546a3ce799a26ca2f7a2b6edfe5449 100644 (file)
@@ -57,9 +57,6 @@
 #include <openssl/sha.h>
 #include <security-manager-types.h>
 #include <smack-labels.h>
-#include <tzplatform_config.h>
-
-#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;