[S390] get rid of unused variables
Remove trivially unused variables as detected with -Wunused-but-set-variable. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cette révision appartient à :

révisé par
Martin Schwidefsky

Parent
66ceed5ad1
révision
7712f83aa9
@@ -598,7 +598,6 @@ __raw3270_size_device(struct raw3270 *rp)
|
||||
static const unsigned char wbuf[] =
|
||||
{ 0x00, 0x07, 0x01, 0xff, 0x03, 0x00, 0x81 };
|
||||
struct raw3270_ua *uap;
|
||||
unsigned short count;
|
||||
int rc;
|
||||
|
||||
/*
|
||||
@@ -653,7 +652,6 @@ __raw3270_size_device(struct raw3270 *rp)
|
||||
if (rc)
|
||||
return rc;
|
||||
/* Got a Query Reply */
|
||||
count = sizeof(rp->init_data) - rp->init_request.rescnt;
|
||||
uap = (struct raw3270_ua *) (rp->init_data + 1);
|
||||
/* Paranoia check. */
|
||||
if (rp->init_data[0] != 0x88 || uap->uab.qcode != 0x81)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur