OSDN Git Service

staging: ozwpan: Move code from success handling to error handling
authorQuentin Lambert <lambert.quentin@gmail.com>
Tue, 10 Feb 2015 10:42:08 +0000 (11:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:14:08 +0000 (16:14 -0800)
commit6498613d2cf23269a6a483a751f61655115de251
tree6834c8fb534813bf12daa751cf1102e46ab00a26
parente03b7297f8e8968e98ff9eab57e0f92e106248ad
staging: ozwpan: Move code from success handling to error handling

The original version was success handling rather than error handling,
therefore this patch reduces nesting.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozhcd.c
drivers/staging/ozwpan/ozpd.c