Skip to contentSkip to conversation

get rid of unused function warning (aztcd)

PATCH New Stephen Hemminger 1 participant 1 message Sep 9, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/cdrom/aztcd.c +2 -0
diff -Nru a/drivers/cdrom/aztcd.c b/drivers/cdrom/aztcd.c
@@ -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()