Skip to content

Commit

Permalink
devpts: fix unused function warning
Browse files Browse the repository at this point in the history
fs/devpts/inode.c:324: warning: 'compare_init_pts_sb' defined but not used

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Jan 2, 2009
1 parent 4bd43f2 commit 8c056e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ 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)
return devpts_mnt->mnt_sb == s;
return 0;
}

#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES
/*
* Safely parse the mount options in @data and update @opts.
*
Expand Down

0 comments on commit 8c056e5

Please sign in to comment.