瀏覽代碼

OMAPDSS: remove unused macros

Macros to_dss_driver() and to_dss_device() are no longer used, and the
latter doesn't even work. Remove them.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi Valkeinen 11 年之前
父節點
當前提交
80823ca1ba
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      include/video/omapdss.h

+ 0 - 3
include/video/omapdss.h

@@ -964,9 +964,6 @@ int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi,
 		bool replication, const struct omap_video_timings *mgr_timings,
 		bool replication, const struct omap_video_timings *mgr_timings,
 		bool mem_to_mem);
 		bool mem_to_mem);
 
 
-#define to_dss_driver(x) container_of((x), struct omap_dss_driver, driver)
-#define to_dss_device(x) container_of((x), struct omap_dss_device, old_dev)
-
 int omapdss_compat_init(void);
 int omapdss_compat_init(void);
 void omapdss_compat_uninit(void);
 void omapdss_compat_uninit(void);