* [TRIVIAL][PATCH-2.6.0-test3]more unused variable fixes.
@ 2003-08-18 16:40 Krishnakumar. R
0 siblings, 0 replies; only message in thread
From: Krishnakumar. R @ 2003-08-18 16:40 UTC (permalink / raw)
To: trivial; +Cc: linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-18 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-18 16:40 [TRIVIAL][PATCH-2.6.0-test3]more unused variable fixes Krishnakumar. R
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).