From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
To: trivial@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [TRIVIAL][PATCH-2.6.0-test3]more unused variable fixes.
Date: Mon, 18 Aug 2003 22:10:05 +0530 [thread overview]
Message-ID: <200308182210.05846.krishnakumar@naturesoft.net> (raw)
Hi,
The following patch removes the 'unused variable' error
from the files:
1. drivers/net/wan/sdlamain.c
2. drivers/video/tridentfb.c
Regards
KK
=========================================
diffstat output:
net/wan/sdlamain.c | 1 -
video/tridentfb.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
=========================================
The patch is as follows:
--- linux-2.6.0-test3/drivers/net/wan/sdlamain.orig.c 2003-08-18 21:44:12.000000000 +0530
+++ linux-2.6.0-test3/drivers/net/wan/sdlamain.c 2003-08-18 21:45:07.000000000 +0530
@@ -1029,7 +1029,6 @@
STATIC irqreturn_t sdla_isr (int irq, void* dev_id, struct pt_regs *regs)
{
#define card ((sdla_t*)dev_id)
- int handled = 0;
if(card->hw.type == SDLA_S514) { /* handle interrrupt on S514 */
u32 int_status;
--- linux-2.6.0-test3/drivers/video/tridentfb.orig.c 2003-08-18 22:02:56.000000000 +0530
+++ linux-2.6.0-test3/drivers/video/tridentfb.c 2003-08-18 22:03:36.000000000 +0530
@@ -454,7 +454,7 @@
static void tridentfb_fillrect(struct fb_info * info, const struct fb_fillrect *fr)
{
int bpp = info->var.bits_per_pixel;
- int dx,dy,w,h,col;
+ int col;
switch (bpp) {
case 8: col = fr->color;
reply other threads:[~2003-08-18 16:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200308182210.05846.krishnakumar@naturesoft.net \
--to=krishnakumar@naturesoft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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;
as well as URLs for NNTP newsgroup(s).