diff options
author | 2011-02-28 16:45:10 -0500 | |
---|---|---|
committer | 2011-03-17 15:35:06 -0400 | |
commit | ba6a902d9d89b976bf64a435ec97a490cd160dec (patch) | |
tree | d4e6545b65d877b03a1c431c5eee73f521422600 /tools/perf/scripts/python | |
parent | mmc: sdhci-esdhc-imx: add card detect on custom GPIO for mx25/35 (diff) | |
download | linux-dev-ba6a902d9d89b976bf64a435ec97a490cd160dec.tar.xz linux-dev-ba6a902d9d89b976bf64a435ec97a490cd160dec.zip |
mmc: dw_mmc: Remove set-but-unused variable.
count is only ever used by assigning to old_len if count == 0, and
then old_len isn't ever used at all. So, both are redundant. Fixes:
drivers/mmc/host/dw_mmc.c: In function ‘dw_mci_read_data_pio’:
drivers/mmc/host/dw_mmc.c:1034:32: warning: variable ‘old_len’ set but
not used [-Wunused-but-set-variable]
Signed-off-by: Chris Ball <cjb@laptop.org>
Acked-by: Will Newton <will.newton@imgtec.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions