From: Tom Rini Date: Thu, 14 Jul 2022 12:07:42 +0000 (-0400) Subject: doc: codingstyle: Remove comment about '//' style comments X-Git-Tag: baikal/mips/sdk5.8.2~5^2~287^2~7 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=2112a41044acae24cb197911989a213538804c03;p=uboot.git doc: codingstyle: Remove comment about '//' style comments For some time now we've allowed for '//' style comments, which mirrors the Linux kernel. So drop this point here. Cc: Heinrich Schuchardt Signed-off-by: Tom Rini --- diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst index 1041d1c8d9..2b13818a8c 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