staging: slicoss: error handling with goto
authorKulikov Vasiliy <segooon@gmail.com>
Sun, 27 Jun 2010 13:20:46 +0000 (17:20 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:16:43 +0000 (13:16 -0700)
commit3746bfd51d8108d43c06064481065afc07bbcc1d
treeeb2aa06d9bd8e5df2e8e91781e76717d5a9d144b
parent9020dea38032ac17b096628b2e102245de3863ac
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