common: mmc: unsigned char compared against 0
authorPeng Fan <Peng.Fan@freescale.com>
Wed, 25 Nov 2015 09:16:21 +0000 (17:16 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:24 +0000 (18:22 -0500)
commit678e9316d48f78d162f705846b6f6eeab4aa5dd0
treee25e20c850b7d68f4708a30008dc6b97c26015d7
parent9f8edb76512b0e8815e2e53e248c128414739fcc
common: mmc: unsigned char compared against 0

"enable" is unsigned char type and its value will not be
negative, so discard "enable < 0".

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_mmc.c