]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: sep: untangle the register_fs code
authorAlan Cox <alan@linux.intel.com>
Fri, 14 Aug 2009 14:49:22 +0000 (15:49 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:15 +0000 (12:02 -0700)
commit9b665b620b7b3d337473fa9bbc6f503f4647875e
tree224217da6b1432de9307acb6c7f01b3952a2c391
parentc7ce39eafff31fb9ff97a777906616522c17b6d2
Staging: sep: untangle the register_fs code

While goto can be useful for cleaner cleaning up in C (as Linux sometimes
does and I think Linus borrowed stylistically from Amiga) you can overdo it.
Here is a fine fine example of when it's overkill

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sep/sep_driver.c