sunrpc: Remove extra parenthesis on comparison

clang issues a 'equality comparison with extraneous parentheses
[-Werror,-Wparentheses-equality]' in this.  Instead of suppress
the warning, just follow the next comparison style.
This commit is contained in:
Adhemerval Zanella 2022-03-10 08:34:01 -03:00
parent 2d94174fd1
commit 5d3b33803f

View File

@ -456,7 +456,7 @@ getkeyserv_handle (int vers)
return kcp->client;
}
if ((kcp->client == (CLIENT *) NULL))
if (kcp->client == (CLIENT *) NULL)
/* Use the AF_UNIX transport */
kcp->client = clnt_create ("/var/run/keyservsock", KEY_PROG, vers, "unix");