]> Pileus Git - ~andy/linux/blobdiff - net/rds/tcp_connect.c
Merge branch 'upstream/xen-settime' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / net / rds / tcp_connect.c
index c519939e8da98fd3ae8252355a0ebb9efac4acd5..af95c8e058fc0d45096234aa8aeb7c8da6fda175 100644 (file)
@@ -45,7 +45,7 @@ void rds_tcp_state_change(struct sock *sk)
 
        read_lock_bh(&sk->sk_callback_lock);
        conn = sk->sk_user_data;
-       if (conn == NULL) {
+       if (!conn) {
                state_change = sk->sk_state_change;
                goto out;
        }