[PATCH] relayfs: remove unused alloc/destroy_inode()
Since we're no longer using relayfs_inode_info, remove relayfs_alloc_inode() and relayfs_destroy_inode() along with the relayfs inode cache. Signed-off-by: Tom Zanussi <zanussi@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
51008f9f95
commit
aaea25d7a6
@@ -64,20 +64,6 @@ struct rchan
|
||||
struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */
|
||||
};
|
||||
|
||||
/*
|
||||
* Relayfs inode
|
||||
*/
|
||||
struct relayfs_inode_info
|
||||
{
|
||||
struct inode vfs_inode;
|
||||
void *data;
|
||||
};
|
||||
|
||||
static inline struct relayfs_inode_info *RELAYFS_I(struct inode *inode)
|
||||
{
|
||||
return container_of(inode, struct relayfs_inode_info, vfs_inode);
|
||||
}
|
||||
|
||||
/*
|
||||
* Relay channel client callbacks
|
||||
*/
|
||||
|
Reference in New Issue
Block a user