Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
*/
status = smbd_smb2_request_next_incoming(xconn);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- return NT_STATUS_OK;
+ return status;
}
static NTSTATUS smbd_smb2_advance_incoming(struct smbXsrv_connection *xconn, size_t n)
}
status = smbd_smb2_request_next_incoming(xconn);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- return NT_STATUS_OK;
+ return status;
}
static NTSTATUS smbd_smb2_io_handler(struct smbXsrv_connection *xconn,
*/
goto again;
}
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
- return NT_STATUS_OK;
+ return status;
}
static void smbd_smb2_connection_handler(struct tevent_context *ev,