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: 1406411 Return-Path: X-Original-To: patchwork-linux-fbdev@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 1B218DF264 for ; Wed, 5 Sep 2012 08:28:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750990Ab2IEI2S (ORCPT ); Wed, 5 Sep 2012 04:28:18 -0400 Received: from na3sys009aog137.obsmtp.com ([74.125.149.18]:52581 "EHLO na3sys009aog137.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765Ab2IEI2Q (ORCPT ); Wed, 5 Sep 2012 04:28:16 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]) (using TLSv1) by na3sys009aob137.postini.com ([74.125.148.12]) with SMTP ID DSNKUEcM5OAADC3gW5WRYwnw5r2NEwZud9Zs@postini.com; Wed, 05 Sep 2012 01:28:15 PDT Received: by lbbgj3 with SMTP id gj3so189791lbb.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=cNadbK9oAD8DhC+8my9jSjcb29EtEt40rHwjQhAm8c83yjYs6Ra9f5hvXQPar66kT4 Yyv9iMU1uAieK0o9ZWLpkYTBF1NRh8ZcmoLvVPLMMlmbG3itMNhCc4+9mEKWlg3F+1Dx 1+EDJdSrMRNTTJVSVD3lmMOuuF6En9zKazhzR76vp1PhbKC4Erl4LzZjTDTXUbFgZEB7 2iYIht/TaF+xYJw5lSdccDs8+zb2ikB56xOY8hoH+9hUbmcgNcknFzDJE59Ts836QQTy ZBCahGbIQ5nyKujqpWX6B2xzmHQRBGHBT65dfQzu5Cf3wdyEF5NudgbirZbP67raFgqb v1zw== 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: ALoCoQn7NseFipC2jZjyQbahKIahPOaDiX4DC5GoEvaWJ/g9T2GvxOp135RCI0IsoUiJ7I2iXSn6 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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