]> git.baikalelectronics.ru Git - kernel.git/commit
xen/privcmd: remove unused variable pageidx
authorColin Ian King <colin.king@canonical.com>
Wed, 8 Nov 2017 13:00:30 +0000 (13:00 +0000)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 8 Nov 2017 14:15:28 +0000 (09:15 -0500)
commit32fe363a0d253eebff7e41618d02f873579730dd
tree8e8caf7444ca53393206b20228c967ef70556188
parent9adafb585f78c9a773f28e347ab60673ccb9ea01
xen/privcmd: remove unused variable pageidx

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@canonical.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/privcmd.c