Make devfs_fpdrop() static. It was not a public KPI, and it has no
reason to remain exported for some time. Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
e884cfc968
commit
21f21e7647
@ -192,7 +192,7 @@ devfs_destroy_cdevpriv(struct cdev_privdata *p)
|
||||
free(p, M_CDEVPDATA);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
devfs_fpdrop(struct file *fp)
|
||||
{
|
||||
struct cdev_privdata *p;
|
||||
|
@ -299,7 +299,6 @@ typedef void d_priv_dtor_t(void *data);
|
||||
int devfs_get_cdevpriv(void **datap);
|
||||
int devfs_set_cdevpriv(void *priv, d_priv_dtor_t *dtr);
|
||||
void devfs_clear_cdevpriv(void);
|
||||
void devfs_fpdrop(struct file *fp); /* XXX This is not public KPI */
|
||||
|
||||
ino_t devfs_alloc_cdp_inode(void);
|
||||
void devfs_free_cdp_inode(ino_t ino);
|
||||
|
Loading…
Reference in New Issue
Block a user