diff options
author | Chris Ball <cjb@laptop.org> | 2011-02-23 18:17:43 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-15 13:49:42 -0400 |
commit | b3bd1b5b0054f716e58a65d4e2e449ea0252e9dd (patch) | |
tree | bfcd23a20790ba0a598398fb7882d98eeb6e37c1 | |
parent | 24c300199b2f9125169c09ca3e950b17c16e2eab (diff) |
mmc: cb710: Return err value in cb710_wait_while_busy()
Fixes:
drivers/mmc/host/cb710-mmc.c: In function ‘cb710_wait_while_busy’:
drivers/mmc/host/cb710-mmc.c:182:6: warning: variable ‘err’ set but not
used [-Wunused-but-set-variable]
Signed-off-by: Chris Ball <cjb@laptop.org>
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
-rw-r--r-- | drivers/mmc/host/cb710-mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c index 66b4ce587f4b..ce2a47b71dd6 100644 --- a/drivers/mmc/host/cb710-mmc.c +++ b/drivers/mmc/host/cb710-mmc.c | |||
@@ -205,7 +205,7 @@ static int cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) | |||
205 | "WAIT12: waited %d loops, mask %02X, entry val %08X, exit val %08X\n", | 205 | "WAIT12: waited %d loops, mask %02X, entry val %08X, exit val %08X\n", |
206 | limit, mask, e, x); | 206 | limit, mask, e, x); |
207 | #endif | 207 | #endif |
208 | return 0; | 208 | return err; |
209 | } | 209 | } |
210 | 210 | ||
211 | static void cb710_mmc_set_transfer_size(struct cb710_slot *slot, | 211 | static void cb710_mmc_set_transfer_size(struct cb710_slot *slot, |