From patchwork Fri Apr 10 20:24:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 6198741 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EFCD0BF4A6 for ; Fri, 10 Apr 2015 20:24:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21BF320480 for ; Fri, 10 Apr 2015 20:24:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EB38E20489 for ; Fri, 10 Apr 2015 20:24:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756388AbbDJUY3 (ORCPT ); Fri, 10 Apr 2015 16:24:29 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:49818 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753258AbbDJUYZ (ORCPT ); Fri, 10 Apr 2015 16:24:25 -0400 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0MWvXU-1YuzJv2XSu-00VxZj; Fri, 10 Apr 2015 22:24:19 +0200 From: Arnd Bergmann To: linux-media@vger.kernel.org Cc: mchehab@osg.samsung.com, Pawel Osciak , Marek Szyprowski , Kyungmin Park , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jurgen Kramer , Hans Verkuil Subject: [PATCH] [media] vb2: remove unused variable Date: Fri, 10 Apr 2015 22:24:17 +0200 Message-ID: <8477099.Iv3RkyDk0C@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:g5K/kJAuFNutZ4eIA+zeCadNKnrrz6IxZQL50Ghyz9I7xwjd7NL T4HcHW7Y4aK+Jm4lPcJq1hwy4KaSGjwIQyPVN2ERyNVOvXcDe/LvV1iU+vfBtv9QFMDsKlW eVlnXFfSGa6ExPbwtjxgw+nSgZaif/gNWSMyetsfqVI18rxVr7ngrFudGn8PxGrRVDRQJiq AOEC0zcOkIjPKArg/V1Qw== X-UI-Out-Filterresults: notjunk:1; Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A recent bug fix removed all uses of the 'fileio' variable in vb2_thread_stop(), which now causes warnings in a lot of ARM defconfig builds: drivers/media/v4l2-core/videobuf2-core.c:3228:26: warning: unused variable 'fileio' [-Wunused-variable] This removes the variable as well. The commit that introduced the warning was marked for 3.18+ backports, so this should probably be backported too. Signed-off-by: Arnd Bergmann Fixes: 0e661006370b7 ("[media] vb2: fix 'UNBALANCED' warnings when calling vb2_thread_stop()") Cc: # for v3.18 and up Acked-by: Marek Szyprowski --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index c11aee7db884..d3f7bf0db61e 100644 --- a/drivers/media/v4l2-core/videobuf2-core.c +++ b/drivers/media/v4l2-core/videobuf2-core.c @@ -3225,7 +3225,6 @@ EXPORT_SYMBOL_GPL(vb2_thread_start); int vb2_thread_stop(struct vb2_queue *q) { struct vb2_threadio_data *threadio = q->threadio; - struct vb2_fileio_data *fileio = q->fileio; int err; if (threadio == NULL)