[PATCH 15/15] ppc64: Formatting cleanups in arch/ppc64/kernel/ItLpQueue.c

Stephen Rothwell sfr at canb.auug.org.au
Tue Jun 28 15:31:53 EST 2005


On Tue, 28 Jun 2005 09:18:31 +1000 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> Just formatting cleanups:
>  * rename some "nextLpEvent" variables to just "event"
>  * make code fit in 80 columns
>  * use brackets around if/else
>  * use a temporary to make hvlpevent_clear_valid clearer
> 
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

> +		}
> +	} else {
> +		event = NULL;
>  	}
> -	else
> -		nextLpEvent = NULL;

You don't need to bracket these trivial else bodies.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050628/a76142c7/attachment.pgp 


More information about the Linuxppc64-dev mailing list