From patchwork Tue Nov 10 20:40:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 7592151 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 13BE7BF90C for ; Tue, 10 Nov 2015 20:47:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0262A205F9 for ; Tue, 10 Nov 2015 20:47:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE3AF205EB for ; Tue, 10 Nov 2015 20:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751417AbbKJUq5 (ORCPT ); Tue, 10 Nov 2015 15:46:57 -0500 Received: from resqmta-po-09v.sys.comcast.net ([96.114.154.168]:36212 "EHLO resqmta-po-09v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750950AbbKJUq4 (ORCPT ); Tue, 10 Nov 2015 15:46:56 -0500 Received: from resomta-po-15v.sys.comcast.net ([96.114.154.239]) by resqmta-po-09v.sys.comcast.net with comcast id fwmo1r0055AAYLo01wmwiL; Tue, 10 Nov 2015 20:46:56 +0000 Received: from mail.gonehiking.org ([73.181.52.62]) by resomta-po-15v.sys.comcast.net with comcast id fwmu1r00V1LXgTt01wmvMB; Tue, 10 Nov 2015 20:46:56 +0000 Received: from lorien.internal (lorien-wl.internal [192.168.1.40]) by mail.gonehiking.org (Postfix) with ESMTP id CD27B9F37A; Tue, 10 Nov 2015 13:40:55 -0700 (MST) From: Shuah Khan To: mchehab@osg.samsung.com, tiwai@suse.de, perex@perex.cz, chehabrafael@gmail.com, hans.verkuil@cisco.com, prabhakar.csengg@gmail.com, chris.j.arges@canonical.com Cc: Shuah Khan , linux-media@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH MC Next Gen v3 5/6] media: Fix compile warning when CONFIG_MEDIA_CONTROLLER_DVB is disabled Date: Tue, 10 Nov 2015 13:40:48 -0700 Message-Id: <534f63cf35f10ef11fa2eeb7c3d5fdb525b3d465.1447184001.git.shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: References: In-Reply-To: References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1447188416; bh=7G5jkaQmMBWsD5cnhZfPSxwotxwH6PSf2SybeUdtzG8=; h=Received:Received:Received:From:To:Subject:Date:Message-Id; b=CovjiXhblZwqch/GYFEehpdVkntBZLaa5JyGG2CTXIjeY83wsV5qSa4T9xWnmYIWT 2rS7BwzpWgPcJTxNSl98+ETrgYn12kM4nZp8XXHxhBPOdjkhXW64jFlwz3NUnPA1r1 A/4z6NPuDtYpipANfXoh/VBFR7+DRnduC95GIsebvVbsVCfQYyv7Lu/CBAYvYPdEAP tvDDae6duF2qs4ruWj9PGK4uxDcM/jjptlZXqA/3uZu7w8g+b4NsaWwZ+Ea1aOWXvD LRLfa/4WNumUl9DOigvBuOlMT97ZqN6b1oOXgKRd31PlrHw0EGW2ubgwpLKAScpy32 /9oo6Rp0h8OZw== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Fix the following compile warning when CONFIG_MEDIA_CONTROLLER_DVB is disabled: drivers/media/dvb-core/dvb_frontend.c: In function 'dvb_frontend_open': drivers/media/dvb-core/dvb_frontend.c:2526:1: warning: label 'err2' defined but not used [-Wunused-label] err2: Signed-off-by: Shuah Khan --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 6a759f5..9e7ee83 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -2522,8 +2522,8 @@ err3: #ifdef CONFIG_MEDIA_CONTROLLER_DVB if (fe->dvb->mdev && fe->dvb->mdev->disable_source) fe->dvb->mdev->disable_source(dvbdev->entity); -#endif err2: +#endif dvb_generic_release(inode, file); err1: if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl)