lkml.org 
[lkml]   [2003]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] get rid of unused function warning (aztcd)
On 2.6.0-test5, this driver defines a function pa_ok which is only used in some
commented out debug code.

diff -Nru a/drivers/cdrom/aztcd.c b/drivers/cdrom/aztcd.c
--- a/drivers/cdrom/aztcd.c Tue Sep 9 14:41:41 2003
+++ b/drivers/cdrom/aztcd.c Tue Sep 9 14:41:41 2003
@@ -373,6 +373,7 @@
} while (aztIndatum != AFL_OP_OK);
}

+#if 0
/* Wait for PA_OK = drive answers with AFL_PA_OK after receiving parameters*/
# define PA_OK pa_ok()
static void pa_ok(void)
@@ -387,6 +388,7 @@
}
} while (aztIndatum != AFL_PA_OK);
}
+#endif

/* Wait for STEN=Low = handshake signal 'AFL_.._OK available or command executed*/
# define STEN_LOW sten_low()
-
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:48    [W:0.061 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site