libcli/smb/smbXcli: remove unused if statement from smb2cli_conn_dispatch_incoming()
authorStefan Metzmacher <metze@samba.org>
Mon, 27 Feb 2012 08:24:38 +0000 (09:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 27 Feb 2012 11:51:34 +0000 (12:51 +0100)
metze

libcli/smb/smbXcli_base.c

index c17254f0a86e7141e7bd1656abedc8ade99b49a1..6b4458878bd6aaba90c3a56896b5fc6a23e779e1 100644 (file)
@@ -3002,9 +3002,7 @@ static NTSTATUS smb2cli_conn_dispatch_incoming(struct smbXcli_conn *conn,
                         * propagate the NT_STATUS_USER_SESSION_DELETED
                         * status to the caller.
                         */
-                       if (signing_key) {
-                               signing_key = NULL;
-                       }
+                       signing_key = NULL;
                }
 
                if (NT_STATUS_EQUAL(status, NT_STATUS_NETWORK_NAME_DELETED) ||