lkml.org 
[lkml]   [2003]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[TRIVIAL][PATCH-2.6.0-test3]more unused variable fixes.
Date
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;





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.043 / U:2.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site