Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1931213ybv; Fri, 14 Feb 2020 08:25:48 -0800 (PST) X-Google-Smtp-Source: APXvYqy/6XYaoNINpaw9uL51Eqt/nWOjkYZ/GLirKPfmLarmPSQABVeBLRoHKY3FE7rNHJGAkc/V X-Received: by 2002:aca:aa05:: with SMTP id t5mr2409126oie.93.1581697548292; Fri, 14 Feb 2020 08:25:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581697548; cv=none; d=google.com; s=arc-20160816; b=gjQtKvT7WQC/kdcnLZ1o3BEISH2fzEQydnoPAku2wbVo4DCm6tbapwtwYmAulhl5r0 WWVed3NMzMis4S7WjHqpMpKctwfPbBGdBe1gbqwQHN/Cp2vnETihgSJSI/3surj7n5n2 W20iX7IeaHVZOv2x93bebBXyP4mScCX3PrZui40DD7KiH4QqvatarqYyU70N/taW5qP8 mALjEBsxjp/CfATkQrOLqWbX3CIpxq5svLO82pOPpaGAYZbavVjfqy1YNS8JILwvuZIr Cucp5oF5se9tY9GiltOSh/4xJwUQTxMB8lFYZDQ99PUGquNH4uP3So1Uu7VlYFO6ozdr 212g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JE+QImXoOYTWhNSLyndJUOCsgxnVPrJzaERzqaezs94=; b=qcpM6F0Wa1HYd9pGW/XVJUkjqatpMj/F5zGhr9HfB9dSl1/bzm3Eyv2+JEIbbJ6YXw tsuxwI9dcJ91WFyqfShx1OoiklyFHmgJb1NKfKvWpLj/1Umnq+pJDMJ50eUbF95tnIFW sFNTWmEK9+ITAExk3vg6snqLuiyl1qWFJEKD0scP7EwIRGLpu+Wunz8QAYyvU4cxlpW6 eu1SEsGNw0ehWRn9f+d2rgztvh4oCpUt3Ap9r3pgqWIAnexXKPVZFnnXv04tmUPZbWep ONoCZOVrhczbjitjUQkIuu5Sn6+3l3S19m1ghKkGYZdA9EqY6fnQez19FQ9uQsDCPoqU Zhnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0zDxkqRi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l84si2824972oig.5.2020.02.14.08.25.36; Fri, 14 Feb 2020 08:25:48 -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; dkim=pass header.i=@kernel.org header.s=default header.b=0zDxkqRi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406025AbgBNQZD (ORCPT + 99 others); Fri, 14 Feb 2020 11:25:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:59110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393335AbgBNQXG (ORCPT ); Fri, 14 Feb 2020 11:23:06 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C189F24764; Fri, 14 Feb 2020 16:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581697385; bh=R/V26Uk66pI1xhuzn7FQgeiwbYiDu6oZfjrYL6llAlY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0zDxkqRiGe59MXBOgnZzeFMI9xJPiWip2XtXJTK5ppCUOwlClU7kBj+gEVKU9xIED 8IJXHrZrZ4kNdzT7oF58GoQn8Oze5vCwlmpJeJlswjkc9+AZigj7rqEOW3lHlPcQeD kYH9CAowhM6g0W+m26ym9P9jjZT1x3Fx3kOe05Cs= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: YueHaibing , Hulk Robot , Chen Zhou , Li Yang , Sasha Levin , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.9 081/141] soc: fsl: qe: remove set but not used variable 'mm_gc' Date: Fri, 14 Feb 2020 11:20:21 -0500 Message-Id: <20200214162122.19794-81-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214162122.19794-1-sashal@kernel.org> References: <20200214162122.19794-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing [ Upstream commit 6e62bd36e9ad85a22d92b1adce6a0336ea549733 ] drivers/soc/fsl/qe/gpio.c: In function qe_pin_request: drivers/soc/fsl/qe/gpio.c:163:26: warning: variable mm_gc set but not used [-Wunused-but-set-variable] commit 1e714e54b5ca ("powerpc: qe_lib-gpio: use gpiochip data pointer") left behind this unused variable. Reported-by: Hulk Robot Signed-off-by: Chen Zhou Signed-off-by: YueHaibing Signed-off-by: Li Yang Signed-off-by: Sasha Levin --- drivers/soc/fsl/qe/gpio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/soc/fsl/qe/gpio.c b/drivers/soc/fsl/qe/gpio.c index b5a7107a9c0a9..de2c0b6f72a1f 100644 --- a/drivers/soc/fsl/qe/gpio.c +++ b/drivers/soc/fsl/qe/gpio.c @@ -137,7 +137,6 @@ struct qe_pin *qe_pin_request(struct device_node *np, int index) { struct qe_pin *qe_pin; struct gpio_chip *gc; - struct of_mm_gpio_chip *mm_gc; struct qe_gpio_chip *qe_gc; int err; unsigned long flags; @@ -163,7 +162,6 @@ struct qe_pin *qe_pin_request(struct device_node *np, int index) goto err0; } - mm_gc = to_of_mm_gpio_chip(gc); qe_gc = gpiochip_get_data(gc); spin_lock_irqsave(&qe_gc->lock, flags); -- 2.20.1