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