From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752566AbbJGM3L (ORCPT ); Wed, 7 Oct 2015 08:29:11 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:34794 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751948AbbJGM3J (ORCPT ); Wed, 7 Oct 2015 08:29:09 -0400 From: Sudip Mukherjee To: Lee Jones Cc: linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH 2/2] mfd: rtsx: fix build warning Date: Wed, 7 Oct 2015 17:58:49 +0530 Message-Id: <1444220929-18949-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444220929-18949-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1444220929-18949-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We were getting build warning about unused variable 'err'. The commit a3c29b099829 has removed the use of err but missed removing the variable which is unused now. Fixes: a3c29b099829 ("mfd: rtsx: Simplify function return logic") Signed-off-by: Sudip Mukherjee --- drivers/mfd/rtsx_pcr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c index b98cf1d..d63f3a8 100644 --- a/drivers/mfd/rtsx_pcr.c +++ b/drivers/mfd/rtsx_pcr.c @@ -561,8 +561,6 @@ EXPORT_SYMBOL_GPL(rtsx_pci_write_ppbuf); static int rtsx_pci_set_pull_ctl(struct rtsx_pcr *pcr, const u32 *tbl) { - int err; - rtsx_pci_init_cmd(pcr); while (*tbl & 0xFFFF0000) { -- 1.9.1