soc/mediatek: Remove unused variables
authorThierry Reding <treding@nvidia.com>
Wed, 8 Apr 2015 08:50:16 +0000 (10:50 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 13 Apr 2015 08:35:53 +0000 (10:35 +0200)
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>
drivers/soc/mediatek/mtk-pmic-wrap.c

index 4a38506..db5be1e 100644 (file)
@@ -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;