Re: [PATCH] mm/rmap: remove redundant variable cend
From: Kirill A. Shutemov
Date: Tue Oct 17 2017 - 07:26:40 EST
On Wed, Oct 11, 2017 at 06:49:42PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable cend is set but never read, hence it is redundant and can be
> removed.
>
> Cleans up clang build warning: Value stored to 'cend' is never read
>
> Fixes: 369ea8242c0f ("mm/rmap: update to new mmu_notifier semantic v2")
I'm not sure if should consider warning fix as a fix. :)
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
--
Kirill A. Shutemov