afs: casting NULL is generally unnecessary
[openafs.git] / src / lwp / test / selserver.c
index 1215852..a459ba9 100644 (file)
@@ -96,7 +96,7 @@ getClientHandle()
     }
     Die(1, "No free client handles!\n");
 
-    return (clientHandle_t *) NULL;    /* quiet compiler. */
+    return NULL;       /* quiet compiler. */
 }
 
 int nSigIO = 0;
@@ -299,7 +299,7 @@ handleRequest(char *arg)
        FD_SET(ch->ch_fd, &(ch->ch_except));
        code =
            IOMGR_Select(ch->ch_fd + 1, &(ch->ch_read), &(ch->ch_write),
-                        &(ch->ch_except), (struct timeval *)NULL);
+                        &(ch->ch_except), NULL);
        if (FD_ISSET(ch->ch_fd, &(ch->ch_except))) {
            Log("Received expception. Read fd_set shows %d\n",
                FD_ISSET(ch->ch_fd, &(ch->ch_read)));