[patch 2/3] whitespace cleanups in fs/cifs/file.c
Jörn Engel
joern at wohnheim.fh-wedel.de
Wed Dec 29 14:48:53 GMT 2004
On Wed, 29 December 2004 10:42:40 -0300, Horst von Brand wrote:
> Jesper Juhl <juhl-lkml at dif.dk> said:
> > On Wed, 29 Dec 2004, Jörn Engel wrote:
> > > On Wed, 29 December 2004 00:52:32 +0100, Jesper Juhl wrote:
> > > > - if(file->private_data != NULL) {
> > > > + if (file->private_data != NULL) {
> > >
> > > if (file->private_data) {
> > >
> > > It's a question of taste, but in most cases I consider the shorter
> > > version to be more obvious.
> > >
> > Yeah, matter of personal preference, but since both styles are used in the
> > file I had to pick one of them to try and make it consistent - I simply
> > picked my personally prefered form.
>
> Nope. See Documentation/CodingStyle (it implicitly agrees with you, BTW).
Can you be more specific? Did you mean the "if (x is true) {" part?
Jörn
--
This above all: to thine own self be true.
-- Shakespeare
More information about the samba-technical
mailing list