]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/bluetooth/l2cap.h
net: return operator cleanup
[net-next-2.6.git] / include / net / bluetooth / l2cap.h
index 6c241444f902800baf1c4cd16aa89d767d751065..c819c8bf9b68345b3f448fbaa2e6d19a189e5e86 100644 (file)
@@ -414,7 +414,7 @@ static inline int l2cap_tx_window_full(struct sock *sk)
        if (sub < 0)
                sub += 64;
 
-       return (sub == pi->remote_tx_win);
+       return sub == pi->remote_tx_win;
 }
 
 #define __get_txseq(ctrl) ((ctrl) & L2CAP_CTRL_TXSEQ) >> 1