diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c index b02c24313d5c0da5b41c84d398f78e601b492581..3f309f181de84258838c4e2cad5186ea3476377b 100644 --- a/fs/devpts/inode.c +++ b/fs/devpts/inode.c @@ -320,6 +320,7 @@ devpts_fill_super(struct super_block *s, void *data, int silent) return -ENOMEM; } +#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES static int compare_init_pts_sb(struct super_block *s, void *p) { if (devpts_mnt) @@ -327,7 +328,6 @@ static int compare_init_pts_sb(struct super_block *s, void *p) return 0; } -#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES /* * Safely parse the mount options in @data and update @opts. *