[PATCH 3/7] doc: codingstyle: Remove comment about '//' style comments

Tom Rini trini at konsulko.com
Mon Jul 11 19:14:35 CEST 2022

For some time now we've allowed for '//' style comments, which mirrors
the Linux kernel.  So drop this point here.

Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
Signed-off-by: Tom Rini <trini at konsulko.com>
Changes in v2:
- None
 doc/develop/codingstyle.rst | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst
index bbeca42e656b..fdc1f594babc 100644
--- a/doc/develop/codingstyle.rst
+++ b/doc/develop/codingstyle.rst
@@ -33,12 +33,6 @@ The following rules apply:
   original coding style may be kept to ease subsequent migration to newer
   versions of those sources.
-* Please note that U-Boot is implemented in C (and to some small parts in
-  Assembler); no C++ is used, so please do not use C++ style comments (//) in
-  your code.
-  * The sole exception here is for SPDX tags in some files (checkpatch.pl will warn you).
 * Please also stick to the following formatting rules:
   * Remove any trailing white space

More information about the U-Boot mailing list