From patchwork Wed Sep 5 08:25:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1406101 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id D1AD4DFFCF for ; Wed, 5 Sep 2012 08:26:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758072Ab2IEI0Y (ORCPT ); Wed, 5 Sep 2012 04:26:24 -0400 Received: from na3sys009aog136.obsmtp.com ([74.125.149.85]:45350 "EHLO na3sys009aog136.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756559Ab2IEI0U (ORCPT ); Wed, 5 Sep 2012 04:26:20 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]) (using TLSv1) by na3sys009aob136.postini.com ([74.125.148.12]) with SMTP ID DSNKUEcMqs2u7uIw7/HQ+5Pe3jk/m5T/AOvo@postini.com; Wed, 05 Sep 2012 01:26:20 PDT Received: by lagy9 with SMTP id y9so139289lag.19 for ; Wed, 05 Sep 2012 01:26:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Ps0pnBF/j6i5TJTmoXaGBXJIYRI/nDID098NqwYDUvk=; b=nJm2ghJI1NBBkXdMtqjhD/oUUxSEq1fUNmotUbk8n7WoCgh3dHT+fObwn3di6HO8vn BnalpjcDW37tsNN9uyuVx/yBmQWNxal9lKURTuEBm8LK+bBdi/s+6Pfi/D9Jvx0Fy02v RXbEl/68Sabksma9LMjPDotM9cLvooHkI/wtg7O7NqmLK8U9iCO23bko2XRFuM3PCzoT JYWo2/JNVkUfrKe99NuYmdpU3vjayZhobAyGskCEJuOrZg4AtoizLMGXSROg6nOASPyW E0jDSW8I+Bo7i4AOL1X72/rdW+89QkbseTYxFLT8+U5oXIYJgJJkyQq/lX7f3yru4Ts3 XnPw== Received: by 10.152.103.11 with SMTP id fs11mr19102342lab.23.1346833577250; Wed, 05 Sep 2012 01:26:17 -0700 (PDT) Received: from localhost.localdomain (a91-156-160-115.elisa-laajakaista.fi. [91.156.160.115]) by mx.google.com with ESMTPS id bc2sm279735lbb.3.2012.09.05.01.26.15 (version=SSLv3 cipher=OTHER); Wed, 05 Sep 2012 01:26:16 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, archit@ti.com Cc: Tomi Valkeinen Subject: [PATCH 03/17] OMAPFB1: remove a non-used table Date: Wed, 5 Sep 2012 11:25:41 +0300 Message-Id: <1346833555-31258-4-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1346833555-31258-1-git-send-email-tomi.valkeinen@ti.com> References: <1346833555-31258-1-git-send-email-tomi.valkeinen@ti.com> X-Gm-Message-State: ALoCoQk3n/FeVFddsMMv3QRLxywvPLlS5QKtXIPkKuVqex5NUuTO2+9R/bXEgTQb47ho2YpLF3ie Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The old omapfb driver contains a table for DMA element types, which is not used. Remove it. Signed-off-by: Tomi Valkeinen --- drivers/video/omap/omapfb_main.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index f54b463..4351c43 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c @@ -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