ste_dma40: Delete another unnecessary check in d40_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 16 Nov 2015 20:56:07 +0000 (21:56 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 10 Dec 2015 03:47:05 +0000 (09:17 +0530)
commita9bae06dd05fc8262e7430b2e70ebc49d3e68488
treeff9f13623c51dea29e06442af4fa6ceb37056fd5
parente0f8c58003de9691a2cf4569aaa65361587dbc1e
ste_dma40: Delete another unnecessary check in d40_probe()

A single jump label was used by the d40_probe() function in several cases
for error handling which was a bit inefficient here.

* This implementation detail could be improved by the introduction
  of another jump label.

* Remove an extra check for the variable "base".

* Omit its explicit initialisation at the beginning then.

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