Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 741b7763 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik
Browse files

libata-core.c: make 2 functions static



strn_pattern_cmp() and ata_port_detach() can become static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 218f3d30
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4003,7 +4003,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;
@@ -6917,7 +6917,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;