mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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:
parent
51008f9f95
commit
aaea25d7a6
2 changed files with 1 additions and 59 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue