diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-05-23 04:24:25 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-05-23 04:24:28 -0400 |
commit | 7712f83aa904fef0d7d6e5ba7684c3272bddbb19 (patch) | |
tree | 39bf9b46fbe385eb7cb44118be12f6637b83659f /drivers/s390/char/raw3270.c | |
parent | 66ceed5ad1318863c21710f316942bcefff8081c (diff) |
[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>
Diffstat (limited to 'drivers/s390/char/raw3270.c')
-rw-r--r-- | drivers/s390/char/raw3270.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index e21a5c39ef20..810ac38631c3 100644 --- a/drivers/s390/char/raw3270.c +++ b/drivers/s390/char/raw3270.c | |||
@@ -598,7 +598,6 @@ __raw3270_size_device(struct raw3270 *rp) | |||
598 | static const unsigned char wbuf[] = | 598 | static const unsigned char wbuf[] = |
599 | { 0x00, 0x07, 0x01, 0xff, 0x03, 0x00, 0x81 }; | 599 | { 0x00, 0x07, 0x01, 0xff, 0x03, 0x00, 0x81 }; |
600 | struct raw3270_ua *uap; | 600 | struct raw3270_ua *uap; |
601 | unsigned short count; | ||
602 | int rc; | 601 | int rc; |
603 | 602 | ||
604 | /* | 603 | /* |
@@ -653,7 +652,6 @@ __raw3270_size_device(struct raw3270 *rp) | |||
653 | if (rc) | 652 | if (rc) |
654 | return rc; | 653 | return rc; |
655 | /* Got a Query Reply */ | 654 | /* Got a Query Reply */ |
656 | count = sizeof(rp->init_data) - rp->init_request.rescnt; | ||
657 | uap = (struct raw3270_ua *) (rp->init_data + 1); | 655 | uap = (struct raw3270_ua *) (rp->init_data + 1); |
658 | /* Paranoia check. */ | 656 | /* Paranoia check. */ |
659 | if (rp->init_data[0] != 0x88 || uap->uab.qcode != 0x81) | 657 | if (rp->init_data[0] != 0x88 || uap->uab.qcode != 0x81) |