diff options
author | Jiyong Min <jiyong.min@samsung.com> | 2017-09-22 08:10:24 +0900 |
---|---|---|
committer | hj kim <backto.kim@samsung.com> | 2017-09-21 23:18:03 +0000 |
commit | e419decd5ac7751197906a9eee2cfc9596f48a9a (patch) | |
tree | ee99df23484eb59a92b72a4f996404eceb20dfed | |
parent | da9ed176b29970ec7d745183392b2e409fb52c3c (diff) | |
download | media-controller-e419decd5ac7751197906a9eee2cfc9596f48a9a.tar.gz media-controller-e419decd5ac7751197906a9eee2cfc9596f48a9a.tar.bz2 media-controller-e419decd5ac7751197906a9eee2cfc9596f48a9a.zip |
Remove unused code
Change-Id: I0513f808a19ef3b6a68595709d56a4f1657b7645
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-rwxr-xr-x | svc/media_controller_svc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/svc/media_controller_svc.c b/svc/media_controller_svc.c index 966ab74..6849ea8 100755 --- a/svc/media_controller_svc.c +++ b/svc/media_controller_svc.c @@ -59,8 +59,6 @@ static void __mc_destroy_queue(gpointer data) { mc_service_request *req = (mc_service_request *)data; if (req != NULL) { -// MC_SAFE_FREE(req->creds.uid); -// MC_SAFE_FREE(req->creds.smack); MC_SAFE_FREE(req->req_msg); MC_SAFE_FREE(req); } @@ -411,11 +409,6 @@ gboolean _mc_service_process(gpointer data) } if (request_msg->msg_type == MC_MSG_DB_UPDATE) { -/* if (req->permission != 2) { - mc_error("permission is denied![%d]", res); - send_msg = MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED; - goto ERROR; - }*/ char *sql_query = NULL; sql_query = strndup(request_msg->msg, request_msg->msg_size); if (sql_query != NULL) { @@ -477,8 +470,6 @@ ERROR: if (close(req->client_sock) < 0) mc_stderror("close failed"); -// MC_SAFE_FREE(req->creds.uid); -// MC_SAFE_FREE(req->creds.smack); MC_SAFE_FREE(req->req_msg); MC_SAFE_FREE(req); |