Re: [PATCH] mmc: dw_mmc: Remove prev_state and state assignment for STATE_SENDING_CMD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 February 2018 at 07:31, Jaehoon Chung <jh80.chung@xxxxxxxxxxx> wrote:
>
>
> On 02/23/2018 11:23 AM, Shawn Lin wrote:
>> Clang reports a compile warning:
>> drivers/mmc/host/dw_mmc.c:2124:5: warning: Value stored to 'prev_state'
>> is never read
>>
>> By checking the code, prev_state and state assignment for
>> STATE_SENDING_CMD is indeed never used after jumping to unlock tag.
>> So remove it.
>>
>> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
>
> Will apply yours. Thanks!

Dear Jaehoon, I pick this up. I consider the above as your ack and add
your tag for it.

Please tell me if you have any objections to that.

[...]

Thanks and kind regards
Uffe
--
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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux