ste_dma40: Delete unnecessary variable initialisations in d40_hw_detect_init()

Five local variables will be set to an appropriate value a bit later.
Thus omit the explicit initialisation which became unnecessary with
a previous update step.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
Markus Elfring 2016-09-17 14:34:18 +02:00 коммит произвёл Vinod Koul
Родитель f4534adbcf
Коммит 11f7a8d19b
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -3144,11 +3144,11 @@ static int __init d40_phy_res_init(struct d40_base *base)
static struct d40_base * __init d40_hw_detect_init(struct platform_device *pdev) static struct d40_base * __init d40_hw_detect_init(struct platform_device *pdev)
{ {
struct stedma40_platform_data *plat_data = dev_get_platdata(&pdev->dev); struct stedma40_platform_data *plat_data = dev_get_platdata(&pdev->dev);
struct clk *clk = NULL; struct clk *clk;
void __iomem *virtbase = NULL; void __iomem *virtbase;
struct resource *res = NULL; struct resource *res;
struct d40_base *base = NULL; struct d40_base *base;
int num_log_chans = 0; int num_log_chans;
int num_phy_chans; int num_phy_chans;
int num_memcpy_chans; int num_memcpy_chans;
int clk_ret = -EINVAL; int clk_ret = -EINVAL;