]> git.baikalelectronics.ru Git - kernel.git/commit
USB: wwan: remove an unneeded check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Apr 2012 06:33:31 +0000 (09:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2012 20:27:21 +0000 (13:27 -0700)
commit6a4a03bc69404526cd06396200a8998d00ee205e
tree8c790cb6dbdbf251ab30fdbe09d19f242f6d33d9
parent3d1c21ac5836b0e7850d1cbaf557ba0b8e47a0c3
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