summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/omap.c
diff options
context:
space:
mode:
authorPhilippe De Swert2012-04-11 22:32:05 +0200
committerChris Ball2012-05-10 02:47:49 +0200
commitf6f44590f231cdf914ce740f3a53a6b815bf4767 (patch)
tree9c530896e81e0f7afbb413a12496ff05ca02d70d /drivers/mmc/host/omap.c
parentmmc: card: Avoid null pointer dereference (diff)
downloadkernel-qcow2-linux-f6f44590f231cdf914ce740f3a53a6b815bf4767.tar.gz
kernel-qcow2-linux-f6f44590f231cdf914ce740f3a53a6b815bf4767.tar.xz
kernel-qcow2-linux-f6f44590f231cdf914ce740f3a53a6b815bf4767.zip
mmc: core: Remove dead code
bus_width is passed to the function and when 0 (MMC_BUS_WIDTH_1) will cause the function to return. So in in the second test it definitely is different from 0, and the third test is redundant. Signed-off-by: Philippe De Swert <philippedeswert@gmail.com> Reviewed-by: Namjae Jeon <linkinjeon@gmail.com> Acked-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/omap.c')
0 files changed, 0 insertions, 0 deletions