From 803e3d52f0156f02eeceb8edde1807bb6f0772e7 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Thu, 19 Sep 2019 14:59:25 +0900 Subject: [PATCH] Remove unused error type Change-Id: Iaae238488cbcdebdbc708e05bc65876a4691e38a Signed-off-by: Minje Ahn --- lib/include/media-util-err.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/include/media-util-err.h b/lib/include/media-util-err.h index b346213..9562d79 100755 --- a/lib/include/media-util-err.h +++ b/lib/include/media-util-err.h @@ -36,19 +36,13 @@ /* DB operation error*/ #define MS_MEDIA_ERR_DB_CONNECT_FAIL -101 /* connecting database fails */ -#define MS_MEDIA_ERR_DB_DISCONNECT_FAIL -102 /* disconnecting database fails */ -#define MS_MEDIA_ERR_DB_INSERT_FAIL -103 /* inserting record fails */ -#define MS_MEDIA_ERR_DB_DELETE_FAIL -104 /* deleting record fails */ #define MS_MEDIA_ERR_DB_UPDATE_FAIL -105 /* updating record fails */ #define MS_MEDIA_ERR_DB_BUSY_FAIL -106 /* DB Busy */ -#define MS_MEDIA_ERR_DB_SERVER_BUSY_FAIL -107 /* DB Server Busy */ #define MS_MEDIA_ERR_DB_CONSTRAINT_FAIL -108 /* DB CONSTRAINT fails - In case of insert, the record already exists */ -#define MS_MEDIA_ERR_DB_BATCH_UPDATE_BUSY -109 /* Batch update thread is full */ #define MS_MEDIA_ERR_DB_NO_RECORD -110 /* Item not found in DB */ #define MS_MEDIA_ERR_DB_CORRUPT -112 /* DB corrut error */ #define MS_MEDIA_ERR_DB_PERMISSION -113 /* DB permission error */ #define MS_MEDIA_ERR_DB_FULL_FAIL -114 /* DB storage full error */ -#define MS_MEDIA_ERR_DB_READ_FAIL -115 /* read record fails*/ #define MS_MEDIA_ERR_DB_INTERNAL -150 /* DB internal error */ /* IPC operation error*/ @@ -60,15 +54,8 @@ #define MS_MEDIA_ERR_SOCKET_ACCEPT -206 /* socket accept fails */ #define MS_MEDIA_ERR_SOCKET_INTERNAL -250 /* receive error from socket API */ -/* DIRECTORY error*/ -#define MS_MEDIA_ERR_DIR_OPEN_FAIL -501 /* direcotry opennig fails */ -#define MS_MEDIA_ERR_DIR_CLOSE_FAIL -502 /* directory closing fails */ -#define MS_MEDIA_ERR_DIR_READ_FAIL -503 /* directory reading fails */ -#define MS_MEDIA_ERR_DIR_NOT_EXIST -504 /* directory does not exist */ - /* FILE error*/ #define MS_MEDIA_ERR_FILE_OPEN_FAIL -601 /* file opennig fails */ -#define MS_MEDIA_ERR_FILE_CLOSE_FAIL -602 /* file closing fails */ #define MS_MEDIA_ERR_FILE_READ_FAIL -603 /* file reading fails */ #define MS_MEDIA_ERR_FILE_WRITE_FAIL -604 /* file writing fails */ #define MS_MEDIA_ERR_FILE_NOT_EXIST -605 /* file does not exist */ @@ -83,12 +70,8 @@ #define MS_MEDIA_ERR_THUMB_DUPLICATED_REQUEST -802 /* Duplicated request of same path */ #define MS_MEDIA_ERR_THUMB_UNSUPPORTED -803 /* Unsupported content */ -/*DCM Service error*/ -#define MS_MEDIA_ERROR_ALREADY_SCANNED -851 /*Already extracted content*/ - /*ETC*/ #define MS_MEDIA_ERR_VCONF_SET_FAIL -901 /* vconf setting fails*/ -#define MS_MEDIA_ERR_VCONF_GET_FAIL -902 /* vconf getting fails*/ #define MS_MEDIA_ERR_SCANNER_NOT_READY -903 /* scanner is not ready */ #define MS_MEDIA_ERR_DYNAMIC_LINK -904 /* fail to dynamic link */ #define MS_MEDIA_ERR_INVALID_IPC_MESSAGE -905 /* received message is not valid */ @@ -96,8 +79,5 @@ #define MS_MEDIA_ERR_SEND_NOTI_FAIL -907 /* sending notification is failed */ #define MS_MEDIA_ERR_USB_UNMOUNTED -908 /* USB unmounted */ #define MS_MEDIA_ERR_DB_LIMIT_1 -909 -#define MS_MEDIA_ERR_DB_LIMIT_2 -910 - -#define MS_MEDIA_ERR_MAX -999 #endif /*_MEDIA_UTIL_ERR_H_*/ -- 2.7.4