common_type: remove the deprecated error values. 20/176320/2
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 18 Apr 2018 10:09:48 +0000 (19:09 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 18 Apr 2018 10:45:09 +0000 (19:45 +0900)
Change-Id: Ibacd975fc8297dadf69fd2dea6a3b97d14d64ae2

src/tbm_type_common.h

index aec83c4..8a0cef1 100644 (file)
@@ -89,14 +89,8 @@ typedef enum {
        TBM_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER,     /**< Invalid function parameter */
        TBM_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION,     /**< Function not implemented */
        TBM_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED,             /**< Not supported */
-       TBM_ERROR_OPERATION_FAILED = TIZEN_ERROR_INVALID_OPERATION,      /**< Function not implemented (DEPRECATED) */
 
        /* TBM_BO_ERROR_XXX. start from (TBM_ERROR_BASE | 0x0101) to (TBM_ERROR_BASE | 0x0199) */
-       TBM_BO_ERROR_NONE = TBM_ERROR_NONE,                              /**< Successful */
-       TBM_BO_ERROR_OUT_OF_MEMORY = TBM_ERROR_OUT_OF_MEMORY,            /**< Out of memory */
-       TBM_BO_ERROR_INVALID_PARAMETER = TBM_ERROR_INVALID_PARAMETER,    /**< Invalid function parameter */
-       TBM_BO_ERROR_INVALID_OPERATION = TBM_ERROR_INVALID_OPERATION,    /**< Function not implemented */
-       TBM_BO_ERROR_NOT_SUPPORTED = TBM_ERROR_NOT_SUPPORTED,            /**< Not supported */
        TBM_BO_ERROR_GET_FD_FAILED = TBM_ERROR_BASE | 0x0101,            /**< failed to get fd in bo  (DEPRECATED) */
        TBM_BO_ERROR_HEAP_ALLOC_FAILED = TBM_ERROR_OUT_OF_MEMORY,        /**< failed to allocate the heap memory in bo  (DEPRECATED) */
        TBM_BO_ERROR_LOAD_MODULE_FAILED = TBM_ERROR_BASE | 0x0103,       /**< failed to load module  (DEPRECATED) */
@@ -125,10 +119,7 @@ typedef enum {
 
        /* TBM_SURFACE_QUEUE_ERROR_XXX. start from (TBM_ERROR_BASE | 0x0301) to (TBM_ERROR_BASE | 0x0399) */
        TBM_SURFACE_QUEUE_ERROR_NONE = TBM_ERROR_NONE,                            /**< Successful */
-       TBM_SURFACE_QUEUE_ERROR_OUT_OF_MEMORY = TBM_ERROR_OUT_OF_MEMORY,          /**< Out of memory */
        TBM_SURFACE_QUEUE_ERROR_INVALID_PARAMETER = TBM_ERROR_INVALID_PARAMETER,  /**< Invalid function parameter */
-       TBM_SURFACE_QUEUE_ERROR_INVALID_OPERATION = TBM_ERROR_INVALID_OPERATION,  /**< Function not implemented */
-       TBM_SURFACE_QUEUE_ERROR_NOT_SUPPORTED = TBM_ERROR_NOT_SUPPORTED,          /**< Not supported */
        TBM_SURFACE_QUEUE_ERROR_EMPTY = TBM_ERROR_BASE | 0x0301,                  /**< Empty queue */
        TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE = TBM_ERROR_BASE | 0x0302,          /**< Invalid queue */
        TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE = TBM_ERROR_BASE | 0x0303,        /**< Invalid surface */