Skip to content

Commit

Permalink
jffs2: Remove C++ style comments from uapi header
Browse files Browse the repository at this point in the history
Linux kernel tolerates C++ style comments these days. Actually, the
SPDX License tags for .c files start with //.

On the other hand, uapi headers are written in more strict C, where
the C++ comment style is forbidden.

I simply dropped these lines instead of fixing the comment style.

This code has been always commented out since it was added around
Linux 2.4.9 (i.e. commented out for more than 17 years).

'Maybe later...' will never happen.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Masahiro Yamada authored and Richard Weinberger committed Aug 22, 2019
1 parent d1abaeb commit 7542c6d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/uapi/linux/jffs2.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@

#define JFFS2_ACL_VERSION 0x0001

// Maybe later...
//#define JFFS2_NODETYPE_CHECKPOINT (JFFS2_FEATURE_RWCOMPAT_DELETE | JFFS2_NODE_ACCURATE | 3)
//#define JFFS2_NODETYPE_OPTIONS (JFFS2_FEATURE_RWCOMPAT_COPY | JFFS2_NODE_ACCURATE | 4)


#define JFFS2_INO_FLAG_PREREAD 1 /* Do read_inode() for this one at
mount time, don't wait for it to
happen later */
Expand Down

0 comments on commit 7542c6d

Please sign in to comment.