mmc: cavium-octeon: remove nonsense variable coercion
authorTang Bin <tangbin@cmss.chinamobile.com>
Fri, 27 Mar 2020 04:36:39 +0000 (12:36 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Mar 2020 12:26:25 +0000 (13:26 +0100)
commit92075d98abf0f42db1cb518150364f196d4ad217
treea048a46341446ea2f8c41c3d894853c27024a7a3
parent9e2582e57407e390a94de7848a809540694bef35
mmc: cavium-octeon: remove nonsense variable coercion

In this function, the variable 'base' is already 'void __iomem *base',
and the return function 'devm_platform_ioremap_resource()' also returns
this type, so the mandatory definition here is redundant.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200327043639.6564-1-tangbin@cmss.chinamobile.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium-octeon.c