From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932564AbeAROqj (ORCPT ); Thu, 18 Jan 2018 09:46:39 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:41781 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932257AbeAROqh (ORCPT ); Thu, 18 Jan 2018 09:46:37 -0500 X-Google-Smtp-Source: ACJfBotwMvoL2XvAHrMdJVjFr0Dq262fW1By3WyiqB5ywiwRnDgRW6+7BIefUgJDuVbcPS7AZM5z5Q== Date: Thu, 18 Jan 2018 06:46:33 -0800 From: Tejun Heo To: Arnd Bergmann Cc: Kishon Vijay Abraham I , Florian Fainelli , Srinath Mannam , linux-kernel@vger.kernel.org Subject: Re: [PATCH] phy: brcm-sata: remove unused variable Message-ID: <20180118144633.GY3460072@devbig577.frc2.facebook.com> References: <20180118132043.992893-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118132043.992893-1-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 02:19:58PM +0100, Arnd Bergmann wrote: > The newly introduced calibrate function has a variable > that has never been used and needs to be removed to avoid > this harmless warning: > > drivers/phy/broadcom/phy-brcm-sata.c: In function 'brcm_stb_sata_calibrate': > drivers/phy/broadcom/phy-brcm-sata.c:514:24: error: unused variable 'priv' [-Werror=unused-variable] > > Fixes: 3e507769d15e ("phy: brcm-sata: Implement calibrate callback") > Signed-off-by: Arnd Bergmann Applied to libata/for-4.16. Thanks. -- tejun