提交 741b7763 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

libata-core.c: make 2 functions static

strn_pattern_cmp() and ata_port_detach() can become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 218f3d30
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册