staging/gdm72xx: Remove duplicated code in gdm_qos.c
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 19 Feb 2013 17:50:20 +0000 (18:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:25:54 +0000 (09:25 -0700)
The first branch of the if statement is ended with a return thus there
is no need for an else if, and thus we can move the duplicated code to
the top and use it for the other two branches.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found