> Date: Wed, 29 Sep 2010 03:21:21 +0600 > From: Alexandr Shadchin <alexandr.shadc...@gmail.com> > > On Mon, Sep 27, 2010 at 01:10:58PM -0700, Matthew Dempsky wrote: > > On Mon, Sep 27, 2010 at 10:42 AM, Alexandr Shadchin > > <alexandr.shadc...@gmail.com> wrote: > > > if (pa->pa_slot != PCKBC_AUX_SLOT) > > > - return (0); > > > + return 0; > > > > "return (x)" is proper KNF. Please don't undo it. > > I have recently seen more often return without the brackets, so I decided > that this is correct. For me, with or without the brackets do not matter. > So back braces or not?
I'd say, don't arbitrarily change them, and try to keep things consistent with the code around it.