[kvm-unit-tests GIT PULL 05/17] s390x: mvpg-sie: Remove unused variable

Janosch Frank
2021-10-18T12:38:11Z

From: Thomas Huth <thuth@redhat.com>

The guest_instr variable is not used, which was likely a
copy-n-paste issue from the s390x/sie.c test.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/kvm/6b4b6ae0-6cee-e435-189a-8657159de97f@linux.ibm.com/T/#m8390c674f1b6a9fdf8055189d039c60c99a6899a
Message-Id: <20211007072136.768459-1-thuth@redhat.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
---
s390x/mvpg-sie.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/s390x/mvpg-sie.c b/s390x/mvpg-sie.c
index ccc273b4..5adcec1e 100644
--- a/s390x/mvpg-sie.c
+++ b/s390x/mvpg-sie.c
@@ -21,7 +21,6 @@
#include <sie.h>

static u8 *guest;
-static u8 *guest_instr;
static struct vm vm;

static uint8_t *src;
@@ -94,8 +93,6 @@ static void setup_guest(void)

/* Allocate 1MB as guest memory */
guest = alloc_pages(8);
- /* The first two pages are the lowcore */
- guest_instr = guest + PAGE_SIZE * 2;

sie_guest_create(&vm, (uint64_t)guest, HPAGE_SIZE);

--
2.31.1