On Mon, Feb 28, 2011 at 9:55 PM, Chris Ball <cjb@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> > Cc: Will Newton <will.newton@xxxxxxxxxx> Looks good, thanks for fixing this! Acked-by: Will Newton <will.newton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html