]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Remove dead code
authorPhilippe De Swert <philippedeswert@gmail.com>
Wed, 11 Apr 2012 20:32:05 +0000 (23:32 +0300)
committerChris Ball <cjb@laptop.org>
Thu, 10 May 2012 00:47:49 +0000 (20:47 -0400)
commit600e46a3dbb6a7fc96fb11b3219874d67ab97f58
tree9c530896e81e0f7afbb413a12496ff05ca02d70d
parent2bad3ecfd3ba83f2189ddff85bf23f0d179f1d5f
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>
drivers/mmc/core/mmc.c