soc/mediatek: Remove unused variables
PATCH 1/1 soc/mediatek: Remove unused variables
From: Thierry Reding <[email protected]>
The PMIC wrapper driver adds a couple of variables that are never used. Remove them to avoid build warnings.
Signed-off-by Thierry Reding <[email protected]>
--- drivers/soc/mediatek/mtk-pmic-wrap.c | 2 -- 1 file changed, 2 deletions(-)
drivers/soc/mediatek/mtk-pmic-wrap.c +0 -2
@@ -563,8 +563,6 @@ static int pwrap_init_sidly(struct pmic_wrapper *wrp)static int pwrap_init_reg_clock (struct pmic_wrapper *wrp) { -u32 wdata; -u32 rdata;unsigned long rate_spi;int ck_mhz;
Signature · 1 line
2.3.2
Matthias Brugger
maintainerPATCH 1/1 soc/mediatek: Remove unused variables
2015-04-08 10:50 GMT+02:00 Thierry Reding <[email protected]>:
Quoted 6 lines
From: Thierry Reding <[email protected]>
The PMIC wrapper driver adds a couple of variables that are never used. Remove them to avoid build warnings.
Signed-off-by Thierry Reding <[email protected]>
You are right, I didn't notice when merging.
Signed-off-by Matthias Brugger <[email protected]>
Quoted 20 lines
--- drivers/soc/mediatek/mtk-pmic-wrap.c | 2 -- 1 file changed, 2 deletions(-)drivers/soc/mediatek/mtk-pmic-wrap.c +0
-3@@ -563,8 +563,6 @@ static int pwrap_init_sidly(struct pmic_wrapper *wrp)static int pwrap_init_reg_clock (struct pmic_wrapper *wrp) { -u32 wdata; -u32 rdata;unsigned long rate_spi;int ck_mhz; --2.3.2
Signature · 1 line
motzblog.wordpress.com