From: Stephen Hemminger <shemminger@osdl.org>
To: axboe@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] get rid of unused function warning (aztcd)
Date: Tue, 9 Sep 2003 14:46:08 -0700 [thread overview]
Message-ID: <20030909144608.3991c140.shemminger@osdl.org> (raw)
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()
reply other threads:[~2003-09-09 21:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030909144608.3991c140.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).