linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] get rid of unused function warning (aztcd)
@ 2003-09-09 21:46 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2003-09-09 21:46 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel

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()

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-09 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 21:46 [PATCH] get rid of unused function warning (aztcd) Stephen Hemminger

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).