lkml.org 
[lkml]   [2003]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[TRIVIAL][PATCH 2.6.0-test2] Fix unused variable warning for mxser.c
From
Date
This patch fixes the following warnings:
drivers/char/mxser.c: In function `mxser_module_init':
drivers/char/mxser.c:501: warning: unused variable `ret2'
drivers/char/mxser.c:501: warning: unused variable `ret1'


--- linux-2.6.0-test2/drivers/char/mxser.c 2003-07-15 17:22:30.000000000 +0530
+++ linux-2.6.0-test2-nvk/drivers/char/mxser.c 2003-07-29 13:10:10.000000000 +0530
@@ -498,7 +498,6 @@
{
int i, m, retval, b;
int n, index;
- int ret1, ret2;
struct mxser_hwconf hwconf;

mxvar_sdriver = alloc_tty_driver(MXSER_PORTS + 1);
-
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.058 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site