linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] libata-core.c: make 2 functions static
@ 2007-10-24 16:23 Adrian Bunk
  2007-10-25  6:01 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:23 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-ide, linux-kernel

strn_pattern_cmp() and ata_port_detach() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/ata/libata-core.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

bd2a708230f4e6d2c706b1e781f6a3a33ca52c3e 
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 629eadb..ab2ac21 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4004,7 +4004,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ }
 };
 
-int strn_pattern_cmp(const char *patt, const char *name, int wildchar)
+static int strn_pattern_cmp(const char *patt, const char *name, int wildchar)
 {
 	const char *p;
 	int len;
@@ -6918,7 +6918,7 @@ int ata_host_activate(struct ata_host *host, int irq,
  *	LOCKING:
  *	Kernel thread context (may sleep).
  */
-void ata_port_detach(struct ata_port *ap)
+static void ata_port_detach(struct ata_port *ap)
 {
 	unsigned long flags;
 	struct ata_link *link;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] libata-core.c: make 2 functions static
  2007-10-24 16:23 [2.6 patch] libata-core.c: make 2 functions static Adrian Bunk
@ 2007-10-25  6:01 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-10-25  6:01 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-ide, linux-kernel

Adrian Bunk wrote:
> strn_pattern_cmp() and ata_port_detach() can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> 
>  drivers/ata/libata-core.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-25  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:23 [2.6 patch] libata-core.c: make 2 functions static Adrian Bunk
2007-10-25  6:01 ` Jeff Garzik

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