mmc: sh_mmcif: remove redundant initialization of 'opc'
authorColin Ian King <colin.king@canonical.com>
Wed, 17 Jan 2018 13:41:57 +0000 (13:41 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Jan 2018 08:08:11 +0000 (09:08 +0100)
commit659032dcb9f11c3bd2a3a23db76e6a70b3ddec79
tree9db0ac428cbcc71adc3f784924524a8752997b93
parent81b14543ac81d529d6c07ce3be0cdfc9fe417389
mmc: sh_mmcif: remove redundant initialization of 'opc'

Variable opc is initialized with a value that is never read, opc
is later re-assigned a newer value, hence the initialization can
be removed.

Cleans up clang warning:
drivers/mmc/host/sh_mmcif.c:919:6: warning: Value stored to 'opc'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c