Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3339500imu; Sun, 11 Nov 2018 12:43:57 -0800 (PST) X-Google-Smtp-Source: AJdET5cd4sqjKzgmJMHlHA72mA2M4ftuodsaSL0TMjpXYRgZcwBmo3VDPycuK1JGGPAOIgUf5fOS X-Received: by 2002:a17:902:8d94:: with SMTP id v20-v6mr17629273plo.109.1541969036994; Sun, 11 Nov 2018 12:43:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541969036; cv=none; d=google.com; s=arc-20160816; b=Aq7XAPMT3GFv/mbfqIsndseMwBr1RKuyg09Ctv7sCo5MPmf4T/i86g+fqdqsuK673V ubGVSVyrygbZfpg1dmRvmpZYqT2ZCJb6E8wR4fMFRabYBp/kvree3NukdE78sI7V2eO4 kH4dBJsn2syh+8eF54V2hKT5QT8MUwJFASz1jj4sZVwHMP4T3RPOUnkTQaXEYjksRFJV frsnTOiROsqx7DyU5SmXa9FX6rYrTXbj5CM3jaaFaxITUijkxDRVEZH6nYDdGYf+gTG4 0+QrhwQlHQu2EDO/yL1bUuJ96BYBKzQ5y+WMgEo3RufSd3qv8VuIbDkNKDYSkmQ1Y3SS XzzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=GFBXgxZiLDMIpAfQPVDwIpccuZvKlHGA0wMzhda1b+0=; b=blEuUumLTz6cATykOXP8cmdJDNlDkDWYvNW7+XdyhUtd4UrS7wZB74i72Cw7N6v+ZF a5o18ssRUu90Wc+MitQyoVRzZifNruQpl2zC+4B6tspxD30eLcXrjiY+7jrg9qGJGk7C 2DFiK/fyh5uTDYetqwRNjOvLdaKAwaIdT0GHMgR2L9RolJpouKtqJUKWVdUiPhuORdVr NxoqrcSGisP+w9u2FVbaD4F8vg625AY5ArvqFXyZvxdmOA/Q0eXfFZw73GVirPTuTiJc VwLeuoZU2AORWLAJ4PPYUDQzgykhIleUZfW72JlXUdw0ghuQNwg1uXDYAS0RaRczFWpW q04A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3-v6si15965252pli.318.2018.11.11.12.43.41; Sun, 11 Nov 2018 12:43:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730141AbeKLGcp (ORCPT + 99 others); Mon, 12 Nov 2018 01:32:45 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:49306 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729750AbeKLFsB (ORCPT ); Mon, 12 Nov 2018 00:48:01 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsO-0000lL-2x; Sun, 11 Nov 2018 19:58:32 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsN-0001NO-Rb; Sun, 11 Nov 2018 19:58:31 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Laurent Pinchart" , "Mauro Carvalho Chehab" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 017/366] media: omap3isp/isp: remove an unused static var In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Mauro Carvalho Chehab commit 3f4836beb2ebeb0211d9911d878a267d687e0e6e upstream. The isp_xclk_init_data const data isn't used anywere. drivers/media/platform/omap3isp/isp.c:294:35: warning: ‘isp_xclk_init_data’ defined but not used [-Wunused-const-variable=] static const struct clk_init_data isp_xclk_init_data = { ^~~~~~~~~~~~~~~~~~ Fixes: 9b28ee3c9122 ("[media] omap3isp: Use the common clock framework") Reviewed-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/media/platform/omap3isp/isp.c | 7 ------- 1 file changed, 7 deletions(-) --- a/drivers/media/platform/omap3isp/isp.c +++ b/drivers/media/platform/omap3isp/isp.c @@ -279,13 +279,6 @@ static const struct clk_ops isp_xclk_ops static const char *isp_xclk_parent_name = "cam_mclk"; -static const struct clk_init_data isp_xclk_init_data = { - .name = "cam_xclk", - .ops = &isp_xclk_ops, - .parent_names = &isp_xclk_parent_name, - .num_parents = 1, -}; - static int isp_xclk_init(struct isp_device *isp) { struct isp_platform_data *pdata = isp->pdata;