staging: slicoss: error handling with goto
authorKulikov Vasiliy <segooon@gmail.com>
Sun, 27 Jun 2010 13:20:47 +0000 (17:20 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:16:43 +0000 (13:16 -0700)
commit78af7f826b2bf19bce0adb458da19dabfee1a0aa
tree5c78dccdfbcbbb7f446a961540106291bd949d5d
parent3746bfd51d8108d43c06064481065afc07bbcc1d
staging: slicoss: error handling with goto

This patch makes error handling more readable due to 'goto err' pattern.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Cc: Denis Kirjanov <kirjanov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/slicoss/slicoss.c