]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/sysfs/inode.c
sysfs: Remove sysfs_instantiate
[linux-2.6-omap-h63xx.git] / fs / sysfs / inode.c
index 200e1bf6f932e23fe5a458188049008b2157acb5..0d706a86d2c7f0bf5dbe4ef3eb14ffb874ca0871 100644 (file)
@@ -211,23 +211,6 @@ struct inode * sysfs_get_inode(struct sysfs_dirent *sd)
        return inode;
 }
 
-/**
- *     sysfs_instantiate - instantiate dentry
- *     @dentry: dentry to be instantiated
- *     @inode: inode associated with @sd
- *
- *     Unlock @inode if locked and instantiate @dentry with @inode.
- *
- *     LOCKING:
- *     None.
- */
-void sysfs_instantiate(struct dentry *dentry, struct inode *inode)
-{
-       BUG_ON(!dentry || dentry->d_inode);
-
-       d_instantiate(dentry, inode);
-}
-
 int sysfs_hash_and_remove(struct sysfs_dirent *dir_sd, const char *name)
 {
        struct sysfs_addrm_cxt acxt;