From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752452AbcHLJ1u (ORCPT ); Fri, 12 Aug 2016 05:27:50 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33568 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbcHLJ1s (ORCPT ); Fri, 12 Aug 2016 05:27:48 -0400 From: Axel Lin To: Kishon Vijay Abraham I Cc: Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Axel Lin Subject: [PATCH RESEND] phy: exynos5-usbdrd: Remove "static" from local variable Date: Fri, 12 Aug 2016 17:27:38 +0800 Message-Id: <1470994058-19095-1-git-send-email-axel.lin@ingics.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'reg' local variable does not need to be static. Signed-off-by: Axel Lin --- This patch was sent on http://www.spinics.net/lists/linux-samsung-soc/msg51405.html drivers/phy/phy-exynos5-usbdrd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c index 20696f5..07ed608 100644 --- a/drivers/phy/phy-exynos5-usbdrd.c +++ b/drivers/phy/phy-exynos5-usbdrd.c @@ -249,7 +249,7 @@ static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst, static unsigned int exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) { - static u32 reg; + u32 reg; struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); /* restore any previous reference clock settings */ @@ -295,7 +295,7 @@ exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) static unsigned int exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst) { - static u32 reg; + u32 reg; struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); /* restore any previous reference clock settings */ -- 2.1.4