On Mon, Feb 28, 2011 at 9:55 PM, Chris Ball c...@laptop.org 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’:
Acked-by: Jaehoon Chung jh80.ch...@samsung.com
Will Newton wrote:
On Mon, Feb 28, 2011 at 9:55 PM, Chris Ball c...@laptop.org 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:
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