[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a8748490706201401m36b1e917g5a600951d48e4cf8@mail.gmail.com>
Date: Wed, 20 Jun 2007 23:01:44 +0200
From: "Jesper Juhl" <jesper.juhl@...il.com>
To: "Cyrill Gorcunov" <gorcunov@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bracing the loop in kernel/softirq.c
On 20/06/07, Cyrill Gorcunov <gorcunov@...il.com> wrote:
> This trivial patch adds braces over a one-line
> loop. That makes code...well... little bit
> convenient for (possible) further modifications.
>
That's generally not done.
It's even in Documentation/CodingStyle :
"
Do not unnecessarily use braces where a single statement will do.
if (condition)
action();
"
--
Jesper Juhl <jesper.juhl@...il.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists