Skip to contentSkip to conversation

more unused variable fixes.

TRIVIAL Krishnakumar. R 1 participant 1 message Aug 18, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore 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:

drivers/net/wan/sdlamain.c renamed from drivers/net/wan/sdlamain.orig.c +0 -1
@@ -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;
drivers/video/tridentfb.c renamed from drivers/video/tridentfb.orig.c +1 -1
@@ -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;