diff options
author | Thierry Reding <treding@nvidia.com> | 2015-04-08 04:50:16 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2015-04-13 04:35:53 -0400 |
commit | 7a4261d5d35362d1c9ec4f80ba01ad417ca467b7 (patch) | |
tree | 0da603e498f9607ceeb0367cd0444fc4ac0d9764 /drivers/soc | |
parent | 1f022d84bd193ec88b01c6d2cb5b6647cb20a02f (diff) |
soc/mediatek: Remove unused variables
The PMIC wrapper driver adds a couple of variables that are never used.
Remove them to avoid build warnings.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/mediatek/mtk-pmic-wrap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c index 4a38506154c6..db5be1eec54c 100644 --- a/drivers/soc/mediatek/mtk-pmic-wrap.c +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c | |||
@@ -563,8 +563,6 @@ static int pwrap_init_sidly(struct pmic_wrapper *wrp) | |||
563 | 563 | ||
564 | static int pwrap_init_reg_clock(struct pmic_wrapper *wrp) | 564 | static int pwrap_init_reg_clock(struct pmic_wrapper *wrp) |
565 | { | 565 | { |
566 | u32 wdata; | ||
567 | u32 rdata; | ||
568 | unsigned long rate_spi; | 566 | unsigned long rate_spi; |
569 | int ck_mhz; | 567 | int ck_mhz; |
570 | 568 | ||