From: Jiri Slaby <jirislaby@gmail.com>
To: akpm@linux-foundation.org
Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
Jiri Slaby <jirislaby@gmail.com>
Subject: [PATCH 6/6] Char: cyclades, remove unused variables
Date: Wed, 22 Apr 2009 09:06:43 +0200 [thread overview]
Message-ID: <1240384003-25499-6-git-send-email-jirislaby@gmail.com> (raw)
In-Reply-To: <1240384003-25499-1-git-send-email-jirislaby@gmail.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/cyclades.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index 6adbc97..4560190 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -2963,7 +2963,6 @@ static void set_line_char(struct cyclades_port *info)
void __iomem *base_addr;
int chip, channel, index;
unsigned cflag, iflag;
- unsigned short chip_number;
int baud, baud_rate = 0;
int i;
@@ -2992,7 +2991,6 @@ static void set_line_char(struct cyclades_port *info)
card = info->card;
channel = info->line - card->first_line;
- chip_number = channel / 4;
if (!cy_is_Z(card)) {
@@ -3212,9 +3210,7 @@ static void set_line_char(struct cyclades_port *info)
} else {
struct FIRM_ID __iomem *firm_id;
struct ZFW_CTRL __iomem *zfw_ctrl;
- struct BOARD_CTRL __iomem *board_ctrl;
struct CH_CTRL __iomem *ch_ctrl;
- struct BUF_CTRL __iomem *buf_ctrl;
__u32 sw_flow;
int retval;
@@ -3224,9 +3220,7 @@ static void set_line_char(struct cyclades_port *info)
zfw_ctrl = card->base_addr +
(readl(&firm_id->zfwctrl_addr) & 0xfffff);
- board_ctrl = &zfw_ctrl->board_ctrl;
ch_ctrl = &(zfw_ctrl->ch_ctrl[channel]);
- buf_ctrl = &zfw_ctrl->buf_ctrl[channel];
/* baud rate */
baud = tty_get_baud_rate(info->port.tty);
--
1.6.2.3
next prev parent reply other threads:[~2009-04-22 7:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-22 7:06 [PATCH 1/6] Char: cyclades, plx9060 casts cleanup Jiri Slaby
2009-04-22 7:06 ` [PATCH 2/6] Char: cyclades, cache HW version Jiri Slaby
2009-04-22 7:06 ` [PATCH 3/6] Char: cyclades, convert macros to inlines Jiri Slaby
2009-04-22 7:06 ` [PATCH 4/6] Char: cyclades, remove typedefs Jiri Slaby
2009-04-22 7:06 ` [PATCH 5/6] Char: cyclades, fix nports handling Jiri Slaby
2009-04-22 7:06 ` Jiri Slaby [this message]
2009-04-22 11:15 ` [PATCH 1/6] Char: cyclades, plx9060 casts cleanup Krzysztof Halasa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240384003-25499-6-git-send-email-jirislaby@gmail.com \
--to=jirislaby@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®