]> git.karo-electronics.de Git - linux-beck.git/commit
ste_dma40: Delete an unnecessary variable initialisation in d40_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 16 Nov 2015 21:00:28 +0000 (22:00 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 10 Dec 2015 03:47:10 +0000 (09:17 +0530)
commitaeb8974ac70f07659b7e5b6fca5bf4d5b4495d4d
tree36c14834cf398c837945d6429ba415ab0538b357
parenta9bae06dd05fc8262e7430b2e70ebc49d3e68488
ste_dma40: Delete an unnecessary variable initialisation in d40_probe()

The variable "res" will eventually be set to a resource pointer from
a call of the d40_hw_detect_init(() function.
Thus let us omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c