Re: [PATCH 17/19] Staging: xgifb: Rework some conditions inXGI_SetCRT2ModeRegs().

From: Dan Carpenter
Date: Fri Jul 06 2012 - 02:57:05 EST


On Thu, Jul 05, 2012 at 04:46:00PM +0200, Miguel Gómez wrote:
> Rework some conditions to reduce indentation and fix style warnings.
>

Instead of a do { } while(0); it would be better to just use gotos.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/