OMAPFB1: remove a non-used table
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 30 Aug 2012 07:54:50 +0000 (10:54 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Sep 2012 17:02:07 +0000 (20:02 +0300)
The old omapfb driver contains a table for DMA element types, which is
not used. Remove it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap/omapfb_main.c

index f54b463709e9f5808f37bf4bb187da6a560fb06e..4351c438b76f5f52cd0ea7f03c28c1b9cb48492d 100644 (file)
@@ -131,15 +131,6 @@ static void omapfb_rqueue_unlock(struct omapfb_device *fbdev)
  * LCD controller and LCD DMA
  * ---------------------------------------------------------------------------
  */
-/* Lookup table to map elem size to elem type. */
-static const int dma_elem_type[] = {
-       0,
-       OMAP_DMA_DATA_TYPE_S8,
-       OMAP_DMA_DATA_TYPE_S16,
-       0,
-       OMAP_DMA_DATA_TYPE_S32,
-};
-
 /*
  * Allocate resources needed for LCD controller and LCD DMA operations. Video
  * memory is allocated from system memory according to the virtual display