From patchwork Tue Mar 13 12:05:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10278501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E8C160231 for ; Tue, 13 Mar 2018 12:12:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7163227FC0 for ; Tue, 13 Mar 2018 12:12:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 652DD28346; Tue, 13 Mar 2018 12:12:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7EF127FC0 for ; Tue, 13 Mar 2018 12:12:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933245AbeCMMGG (ORCPT ); Tue, 13 Mar 2018 08:06:06 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:40713 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933209AbeCMMGC (ORCPT ); Tue, 13 Mar 2018 08:06:02 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0M4rAD-1ejFP11VtN-00z0Qm; Tue, 13 Mar 2018 13:05:50 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab , Peter Ujfalusi Cc: Arnd Bergmann , Hans Verkuil , Sakari Ailus , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: v4l: omap_vout: vrfb: remove an unused variable Date: Tue, 13 Mar 2018 13:05:36 +0100 Message-Id: <20180313120548.2603484-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:jOoLuxAQsM6wfRNs80xOOcGcdIAaoC3BaeJpgIXMxcnrrc50ZNk SINJtHZuhDkiqeEVVZIHHaA7J12zSr/BjnzbyJwOqXNbhoSE5+EFeCfD7m7JP6Oh76MlMVd OKAzTPWowUmymLtTRXnK5OLvOjE5bn9D65RKNmO2irKQIB8bJTTjTzwG4AX7ob5O8K1AJ6Q y7ZjSwJTO1XkR+lCg6jzw== X-UI-Out-Filterresults: notjunk:1; V01:K0:DXJVmhvn5RY=:TQJVEJTGIWx1QUUnmHyr4G 1+KQB4Phf5G1Xq8JK0M4tprGXLlvUbL6LAL72c+jVhu25q7/dytt7mRY5ruRITqP4yhRkUs7R 0e/V1fNoOA5UpRQ0UW1wsgQh4iri2Le8SoUcm9msLpvl+UR/hym32bCqIBFCHbNzUgveFpPxp lLrnDrg3+eRqqO91CdXgeTInZxQOdc2eE/YNhkruTvIyFK7wQgQlY21/ipRUUQnj5wJK6rTqm L3/Yi5ktD0AbHtDw83chD2DmmZh/kshzCPZYBhCLqLanDUJ/JFd+zCrvoWUlV+38dnqnyG7DP 38lBIcse0Osfens8eoZFgM8q9vr0XaoVr6OMGLLicOnQsqnXzGnBFvrTExAIk5J3IfHzY2U6T dviNDm9G+VDTgtOOx3gw11cSohBqRFpQjtGpRS2V7uMZnHFkYIdbgwJ2TaH5e+rQ17FqI6vX0 L5AJNvUBW61odByfR4OgAzQ3lgFrXP6FcA7lW/xejFhqIuQrdzb4J7C0ekjxsPhZyXMg9WYaU sd2rk7f8WMzR/qohbdL1JaTfZqIOQHvRotewMBqX6kUXkIRZuuB0KB+vssSp/RY48YiIkBITp Ibwq7/4PpyWmstjtqSVNUbdjG7FQ3Q3M0ZLoxMtlf8xB2RCWgysS3hTpu6I5XPCmdyAx6KIfk dWTI0IbylSgbfJugc9uVui22+6GcF9G8cYDdTIC3xIEoOEM2Nhd+VA73Ioi9gTw9aUXzlxKAN mbI9442gEx513QVrJDqOUQbSopW/sZdQjdb/9Q== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We now get a warning after the 'dmadev' variable is no longer used: drivers/media/platform/omap/omap_vout_vrfb.c: In function 'omap_vout_prepare_vrfb': drivers/media/platform/omap/omap_vout_vrfb.c:239:21: error: unused variable 'dmadev' [-Werror=unused-variable] Fixes: 8f0aa38292f2 ("media: v4l: omap_vout: vrfb: Use the wrapper for prep_interleaved_dma()") Signed-off-by: Arnd Bergmann Reviewed-by: Peter Ujfalusi --- drivers/media/platform/omap/omap_vout_vrfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index 72c0ac2cbf3d..1d8508237220 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c @@ -236,7 +236,6 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, struct dma_async_tx_descriptor *tx; enum dma_ctrl_flags flags = DMA_PREP_INTERRUPT | DMA_CTRL_ACK; struct dma_chan *chan = vout->vrfb_dma_tx.chan; - struct dma_device *dmadev = chan->device; struct dma_interleaved_template *xt = vout->vrfb_dma_tx.xt; dma_cookie_t cookie; enum dma_status status;