diff options
| author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 16:11:32 +0200 |
|---|---|---|
| committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 16:11:32 +0200 |
| commit | 3bcddc65e3ffd69f29a68410c0604218cec8c34a (patch) | |
| tree | 0ed685cad8496aec9af5c5d2c39ac5568edf1be6 /mkfs.ubifs/ubifs.h | |
| parent | 2416fefc0adc6061212e5ccbf166c8c987385527 (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.h | 11 |
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__ */ |
