]> www.infradead.org Git - users/willy/pagecache.git/commit
virtio_balloon: Use outer variable 'page'
authorzhang jiao <zhangjiao2@cmss.chinamobile.com>
Wed, 20 Nov 2024 05:49:20 +0000 (13:49 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 8 Jan 2025 12:29:05 +0000 (07:29 -0500)
commit302b49daf0c75cafd0719eadf09127abf5a69e50
tree5d0107141215c45e5a439dc851273e856665eb9c
parentb989531e0bd7704dc837e37f8d16bbc921e6cf6c
virtio_balloon: Use outer variable 'page'

There is no need to define a local variable 'page',
just use outer variable 'page'.

Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Message-Id: <20241120054920.35291-1-zhangjiao2@cmss.chinamobile.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
drivers/virtio/virtio_balloon.c