Skip to contentSkip to conversation

remove unused variable from drivers/net/irda/ali-ircc.c

PATCH In review Adrian Bunk 2 participants 2 messages Jan 18, 2003 – Jan 20, 2003 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove unused variable from drivers/net/irda/ali-ircc.c

Hi Jean,

the patch below removes an unused variable that generated a compile time warning. I've tested the compilation with 2.5.59.

cu
Adrian

drivers/net/irda/ali-ircc.c renamed from drivers/net/irda/ali-ircc.c.old +0 -1
@@ -248,7 +248,6 @@
 	struct ali_ircc_cb *self;
 	struct pm_dev *pmdev;
 	int dongle_id;
-	int ret;
 	int err;
 			
 	IRDA_DEBUG(2, "%s(), ---------------- Start ----------------\n", __FUNCTION__);	
#1 lore raw
Quoted 7 lines · Adrian Bunk

Hi Jean,

the patch below removes an unused variable that generated a compile time warning. I've tested the compilation with 2.5.59.

cu
Adrian

Yep. I sent this patch to Jeff two weeks ago. Keep up the good work ;-)

Jean

Quoted 10 lines
drivers/net/irda/ali-ircc.c renamed from drivers/net/irda/ali-ircc.c.old +0 -1
@@ -248,7 +248,6 @@
 	struct ali_ircc_cb *self;
 	struct pm_dev *pmdev;
 	int dongle_id;
-	int ret;
 	int err;
 
 	IRDA_DEBUG(2, "%s(), ---------------- Start ----------------\n", __FUNCTION__);