Re: [PATCH] Replaces two GOTO statements with one IF_ELSE statementin /fs/open.c
From: Jeff Garzik
Date: Mon Jun 20 2005 - 13:45:30 EST
Telemaque Ndizihiwe wrote:
This Patch replaces two GOTO statements and their corresponding LABELs
with one IF_ELSE statement in /fs/open.c, 2.6.12 kernel.
The patch keeps the same implementation of sys_open system call, it only
makes the code smaller and easy to read.
Signed-off-by: Telemaque Ndizihiwe <telendiz@xxxxxxxxxx>
If you don't like goto, don't read kernel code!
Jeff
-
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/