Skip to content
Commit 251ae75c authored by Pedro Marzo Perez's avatar Pedro Marzo Perez Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192u: Simplify error check code at prism2_wep_init



Simplify prism2_wep_init error check code employing goto when a failure is detected.
Removed pr_debug which was given a checkpatch.pl error because of literal string
 splitted across two lines of code, it was seldom going to be printed anyway.

Signed-off-by: default avatarPedro Marzo Perez <marzo.pedro@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bf95628e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment