From: Jiri Slaby <jirislaby@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH 2/5] Char: rocket, don't re-set statics to 0
Date: Mon, 15 Oct 2007 12:29:48 -0400 [thread overview]
Message-ID: <29940160702595520146@pripojeni.net> (raw)
In-Reply-To: <25409162611123630013@pripojeni.net>
rocket, don't re-set statics to 0
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit ad37fddef12ce908078883fdc27297216c6d122e
tree bf07d0f19abdc4220b1888e5385023c936fe3028
parent afb1b8bbdc2cc13a8c2c7d9fff49a3098a370971
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 13:53:01 +0200
committer Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 13:53:01 +0200
drivers/char/rocket.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 94bb3d0..5fd1ed7 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -2372,18 +2372,6 @@ static int __init rp_init(void)
return -ENOMEM;
/*
- * Initialize the array of pointers to our own internal state
- * structures.
- */
- memset(rp_table, 0, sizeof (rp_table));
- memset(xmit_flags, 0, sizeof (xmit_flags));
-
- for (i = 0; i < MAX_RP_PORTS; i++)
- lineNumbers[i] = 0;
- nextLineNumber = 0;
- memset(rocketModel, 0, sizeof (rocketModel));
-
- /*
* If board 1 is non-zero, there is at least one ISA configured. If controller is
* zero, use the default controller IO address of board1 + 0x40.
*/
next prev parent reply other threads:[~2007-10-15 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-15 16:29 [PATCH 1/5] Char: rocket, fix dynamic_dev tty Jiri Slaby
2007-10-15 16:29 ` Jiri Slaby [this message]
2007-10-15 16:30 ` [PATCH 3/5] Char: rocket, remove pci_read_config_dword(CLASS_REVISION) Jiri Slaby
2007-10-15 16:31 ` [PATCH 4/5] Char: rocket, remove potential leak in module_init Jiri Slaby
2007-10-15 16:31 ` [PATCH 5/5] Char: rocket, fix signed/unsigned warning Jiri Slaby
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=29940160702595520146@pripojeni.net \
--to=jirislaby@gmail.com \
--cc=akpm@linux-foundation.org \
--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®