tidy-up: drop redundant == NULL syntax

Where missed by checksrc.

Closes #21935
This commit is contained in:
Viktor Szakats 2026-06-09 14:18:02 +02:00
parent 59213abfb2
commit 014be82a66
No known key found for this signature in database
19 changed files with 39 additions and 41 deletions

View file

@ -1888,8 +1888,8 @@ static void sshc_cleanup(struct ssh_conn *sshc)
}
/* worst-case scenario cleanup */
DEBUGASSERT(sshc->ssh_session == NULL);
DEBUGASSERT(sshc->scp_session == NULL);
DEBUGASSERT(!sshc->ssh_session);
DEBUGASSERT(!sshc->scp_session);
if(sshc->readdir_tmp) {
ssh_string_free_char(sshc->readdir_tmp);