mmc: cavium: Remove redundant pointer check
authorJan Glauber <jglauber@cavium.com>
Thu, 13 Apr 2017 12:10:50 +0000 (14:10 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:22 +0000 (21:42 +0200)
commitc34d1579de4665d9613691bc37aebb7ca86d535d
tree72d3d0dad69a10fb40c463eaa4a434e779473779
parent79ed05e329c34c68ab2a87f729e666fcf208fdad
mmc: cavium: Remove redundant pointer check

Remove redundant mmc->card check reported by smatch:

drivers/mmc/host/cavium.c:694 cvm_mmc_dma_request()
warn: variable dereferenced before check 'mmc->card' (see line 675)

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium.c