From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932902AbeARUX0 (ORCPT ); Thu, 18 Jan 2018 15:23:26 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:39561 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932322AbeARUXZ (ORCPT ); Thu, 18 Jan 2018 15:23:25 -0500 X-Google-Smtp-Source: ACJfBos6Rb6RmNMzPSvufLQPGUIC90opQZYunf+QmhzeCrwpgnVjut8U9Ew9y44mInkijJJ6qG3DSQ== Subject: Re: [PATCH] phy: brcm-sata: remove unused variable To: Arnd Bergmann , Tejun Heo Cc: Kishon Vijay Abraham I , Srinath Mannam , linux-kernel@vger.kernel.org References: <20180118132043.992893-1-arnd@arndb.de> From: Florian Fainelli Message-ID: Date: Thu, 18 Jan 2018 12:23:21 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180118132043.992893-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/18/2018 05:19 AM, 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 Sorry, rebased and this was left, thanks Arnd! -- Florian