summaryrefslogtreecommitdiff
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@st.com>2018-06-27 11:06:59 +0300
committerHeiko Schocher <hs@denx.de>2018-07-12 08:27:34 +0300
commit5a08cfee3967d6e8174d7de135af1daa8e4aea00 (patch)
tree8469ae722571c02de90930f864d564522dbec7f9 /fs/ubifs/ubifs.h
parent4a94e53b23031e6c1a7a03d0a863681002e06ffd (diff)
downloadu-boot-5a08cfee3967d6e8174d7de135af1daa8e4aea00.tar.xz
ubifs: remove useless code
By checking ubifs source code, s_instances parameter is not used anymore. So, set this parameter and the associated source code under __UBOOT__ compilation. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 78c3a68216..512fdaa144 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -316,8 +316,8 @@ struct super_block {
struct backing_dev_info *s_bdi;
#endif
struct mtd_info *s_mtd;
- struct hlist_node s_instances;
#ifndef __UBOOT__
+ struct hlist_node s_instances;
struct quota_info s_dquot; /* Diskquota specific options */
#endif