From: Chris Ball Date: Mon, 28 Feb 2011 21:45:10 +0000 (-0500) Subject: mmc: dw_mmc: Remove set-but-unused variable. X-Git-Tag: v2.6.39-rc1~412^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba6a902d9d89b976bf64a435ec97a490cd160dec;p=pandora-kernel.git 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 Acked-by: Will Newton --- Reading git-diff-tree failed