drm/exynos: remove unused wait_for macro
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 31 Oct 2014 14:17:40 +0000 (14:17 +0000)
committerInki Dae <inki.dae@samsung.com>
Mon, 24 Nov 2014 09:02:51 +0000 (18:02 +0900)
This is a leftover, all code using this macro have been removed/
changed already.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.h

index 780698139e67cbefa7a279003b6178d048c3a705..9e4a7e11b6c802d8a61d643f88909e6d6167c994 100644 (file)
 #define MAX_FB_BUFFER  4
 #define DEFAULT_ZPOS   -1
 
-#define _wait_for(COND, MS) ({ \
-       unsigned long timeout__ = jiffies + msecs_to_jiffies(MS);       \
-       int ret__ = 0;                                                  \
-       while (!(COND)) {                                               \
-               if (time_after(jiffies, timeout__)) {                   \
-                       ret__ = -ETIMEDOUT;                             \
-                       break;                                          \
-               }                                                       \
-       }                                                               \
-       ret__;                                                          \
-})
-
-#define wait_for(COND, MS) _wait_for(COND, MS)
-
 /* This enumerates device type. */
 enum exynos_drm_device_type {
        EXYNOS_DEVICE_TYPE_NONE,