net: qmi_wwan: simplify a check in qmi_wwan_bind()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 25 Jun 2012 22:39:45 +0000 (22:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 00:13:21 +0000 (17:13 -0700)
commit5ac24979dcb3418a295e11823c1f2506df1d9926
tree7f7994297c3075371983a09c319eb7a851ff2d84
parent251da4130115b29403a57096fa0988249f31fc55
net: qmi_wwan: simplify a check in qmi_wwan_bind()

This code is easier to read if we specify which flags we want at the
condition instead of at the top of the function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c