From 3bcddc65e3ffd69f29a68410c0604218cec8c34a Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 16 Jan 2009 16:11:32 +0200 Subject: mkfs.ubifs: fix various warnings Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/ubifs.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mkfs.ubifs/ubifs.h') diff --git a/mkfs.ubifs/ubifs.h b/mkfs.ubifs/ubifs.h index fbefc53..48a583c 100644 --- a/mkfs.ubifs/ubifs.h +++ b/mkfs.ubifs/ubifs.h @@ -424,15 +424,4 @@ struct ubifs_branch *ubifs_idx_branch(const struct ubifs_info *c, (UBIFS_BRANCH_SZ + c->key_len) * bnum); } -/** - * ubifs_idx_key - return pointer to an index key. - * @c: the UBIFS file-system description object - * @idx: index node - */ -static inline void *ubifs_idx_key(const struct ubifs_info *c, - const struct ubifs_idx_node *idx) -{ - return (void *)((struct ubifs_branch *)idx->branches)->key; -} - #endif /* __UBIFS_H__ */ -- cgit v1.2.3