USB: wwan: remove an unneeded check
commitec42899c2f9cf35e25e93c61ab9948e488de1825
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Apr 2012 06:33:31 +0000 (20 09:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2012 20:27:21 +0000 (23 13:27 -0700)
tree8c790cb6dbdbf251ab30fdbe09d19f242f6d33d9
parent4627b1ea038f2d19087c5f426df66f9cbe052f8c
USB: wwan: remove an unneeded check

We already verified that "status" was zero on this else branch.  Since
zero is not equal to -ESHUTDOWN, this condition is always true.  I
removed it and pull everything in an indent level.

This doesn't change how the code works, it's just a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb_wwan.c