summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/ubifs.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-16 16:11:32 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-16 16:11:32 +0200
commit3bcddc65e3ffd69f29a68410c0604218cec8c34a (patch)
tree0ed685cad8496aec9af5c5d2c39ac5568edf1be6 /mkfs.ubifs/ubifs.h
parent2416fefc0adc6061212e5ccbf166c8c987385527 (diff)
mkfs.ubifs: fix various warnings
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/ubifs.h')
-rw-r--r--mkfs.ubifs/ubifs.h11
1 files changed, 0 insertions, 11 deletions
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__ */