Re: [PATCH] xen/privcmd: remove unused variable pageidx

From: Boris Ostrovsky
Date: Wed Nov 08 2017 - 16:21:38 EST


On 11/08/2017 08:30 AM, Juergen Gross wrote:
> On 08/11/17 14:00, Colin King wrote:
>> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>>
>> Variable pageidx is assigned a value but it is never read, hence it
>> is redundant and can be removed. Cleans up clang warning:
>>
>> drivers/xen/privcmd.c:199:2: warning: Value stored to 'pageidx'
>> is never read
>>
>> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Reviewed-by: Juergen Gross <jgross@xxxxxxxx>


Applied to for-linus-4.15.

-boris