[STYLE] Remove unused #ifdef
authorDmitry Bogatov <d.bogatov@samsung.com>
Thu, 14 Nov 2013 12:31:18 +0000 (16:31 +0400)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Mon, 18 Nov 2013 12:51:59 +0000 (12:51 +0000)
Change-Id: Ia06c9e1c2577a05dea6bf4d578e89d7b17080d54
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
daemon/utils.c

index c5d0b05..c09c4c5 100644 (file)
@@ -129,7 +129,6 @@ int read_line(const int fd, char* ptr, const unsigned int maxlen)
        return -1; // no space
 }
 
-#ifndef LOCALTEST
 int smack_set_label_for_self(const char *label)
 {
        int len;
@@ -149,7 +148,6 @@ int smack_set_label_for_self(const char *label)
 
        return (ret < 0) ? -1 : 0;
 }
-#endif
 
 void set_appuser_groups(void)
 {
@@ -208,7 +206,6 @@ void set_appuser_groups(void)
        close(fd);
 }
 
-#ifndef LOCALTEST
 int get_smack_label(const char* execpath, char* buffer, int buflen)
 {
        char* appid = NULL;
@@ -224,7 +221,6 @@ int get_smack_label(const char* execpath, char* buffer, int buflen)
        else
                return -1;
 }
-#endif
 
 int get_appid(const char* execpath, char* buffer, int buflen)
 {