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)
commita4e80a1bcc5df3a48cb8a51dd357045c4ebbebc0
tree224217da6b1432de9307acb6c7f01b3952a2c391
parentcfd498be6e1b89735259690755ad7b9b9bc2a154
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