Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1847783pxb; Mon, 13 Sep 2021 06:51:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3Me9AvbmjLRq1dWdQvgIHUEjAA+UyB6gkTcrFTEgQNiMyh61zBoifYx6x9j+vM0gea8Eo X-Received: by 2002:a92:8707:: with SMTP id m7mr7896937ild.177.1631541117645; Mon, 13 Sep 2021 06:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631541117; cv=none; d=google.com; s=arc-20160816; b=v7di9UblOPm4YkzbZo5gYWBJuK9mg42iHKYl24LJhaJc1hWVnB/qffueUo7kxKZ9m+ 4fCBS8Acw2czg8AwR72aoP0uUAOqAZImM19/PfxGX1lOabhieZ4IuYdFi5X56Mh0Sjqw PMlw9t8OqNr5o6faHWRLITMDBwgAyzC9gqUfjlbrD4gmCANR5MZi15iO+TNkZXVaOM8K +tV1HdmEXHwODkSv+HRWCqrstpwCfu7wIkc94cQyOhF3MI7NHd64phsjtZHpiqp5VBKT MAhhMk9zcRCQOA1j6fr2xbs4jHFzjjp9Mn3zh2eAeS/S90KklBm/rPRqps/t2PUIFxVk QHpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7Lefs0OT3h6PxDGeoYDmeAOZhNvBTQTYv6ui9328ONo=; b=JbznvnsVzh8OsW1okUwru0jin31rqnO8S4rGF5tBi79vhKQHMMLjE8CpBC81a07A64 mbtXb7OxLlrI9Rh+sCwPm5JhKRbHFJivJKnpmXkkbVovkhMLqacIfgkSYeOOMpO1IIb/ mCDDPp2yVOEYk5s4X9FmiKpF85tA26IXnV/Qj5Vf7X2993V5Mz+VarDsXq/EspYlAeWO T1k+T/skfUvOPgrUojYFEbcRGNm9Jk0K/ARDKGWUeAHaMbWN6O/Ti18uHfpH0iuyL8Fm +4JwTWhynjtB2gbgEfaGDxNokNxn/+ZXqiwDkhC96c4J7U/RsBdfeu64DTMjUJub76fe zzKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gFn0AGBB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f46si6596015jaa.87.2021.09.13.06.51.44; Mon, 13 Sep 2021 06:51:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gFn0AGBB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244814AbhIMNui (ORCPT + 99 others); Mon, 13 Sep 2021 09:50:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:55342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242994AbhIMNqq (ORCPT ); Mon, 13 Sep 2021 09:46:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 623E4610CF; Mon, 13 Sep 2021 13:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539921; bh=4y0BWiAPuG5WjVF9EqcZpo9VKbgVNnrNoSR9nsvPPBk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gFn0AGBB69Jru05i4lAEIEDa1+qNWKPtWVTAV+NTJB6P0qoaT9/hscnJsO0s0hiI8 J4lJbS/q7qoP4cpBkizDB3GESb6F6QXUcWT6j0JeFwxKAJfVIUaRXP6PEdR3P83Vr6 BHktWJVldYZhNGdvNLpJxBaKwRC3mKwZbNKJQAj0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Douglas Anderson , Stephen Boyd , Mark Brown Subject: [PATCH 5.10 215/236] ASoC: rt5682: Remove unused variable in rt5682_i2c_remove() Date: Mon, 13 Sep 2021 15:15:20 +0200 Message-Id: <20210913131107.681509215@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Douglas Anderson commit a1ea05723c27a6f77894a60038a7b2b12fcec9a7 upstream. In commit 772d44526e20 ("ASoC: rt5682: Properly turn off regulators if wrong device ID") I deleted code but forgot to delete a variable that's now unused. Delete it. Fixes: 772d44526e20 ("ASoC: rt5682: Properly turn off regulators if wrong device ID") Reported-by: Stephen Rothwell Signed-off-by: Douglas Anderson Reviewed-by: Stephen Boyd Link: https://lore.kernel.org/r/20210813073402.1.Iaa9425cfab80f5233afa78b32d02b6dc23256eb3@changeid Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/rt5682-i2c.c | 2 -- 1 file changed, 2 deletions(-) --- a/sound/soc/codecs/rt5682-i2c.c +++ b/sound/soc/codecs/rt5682-i2c.c @@ -289,8 +289,6 @@ static void rt5682_i2c_shutdown(struct i static int rt5682_i2c_remove(struct i2c_client *client) { - struct rt5682_priv *rt5682 = i2c_get_clientdata(client); - rt5682_i2c_shutdown(client); return 0;