mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
devpts: fix unused function warning
fs/devpts/inode.c:324: warning: 'compare_init_pts_sb' defined but not used Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4bd43f2c31
commit
8c056e5b14
@ -320,6 +320,7 @@ fail:
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES
|
||||||
static int compare_init_pts_sb(struct super_block *s, void *p)
|
static int compare_init_pts_sb(struct super_block *s, void *p)
|
||||||
{
|
{
|
||||||
if (devpts_mnt)
|
if (devpts_mnt)
|
||||||
@ -327,7 +328,6 @@ static int compare_init_pts_sb(struct super_block *s, void *p)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES
|
|
||||||
/*
|
/*
|
||||||
* Safely parse the mount options in @data and update @opts.
|
* Safely parse the mount options in @data and update @opts.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user