Module Name: src
Committed By: christos
Date: Wed Nov 27 20:44:56 UTC 2013
Modified Files:
src/external/bsd/nvi/dist/ip: ip_read.c
Log Message:
CID 1132761: Remove dead code.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/ip/ip_read.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/nvi/dist/ip/ip_read.c
diff -u src/external/bsd/nvi/dist/ip/ip_read.c:1.4 src/external/bsd/nvi/dist/ip/ip_read.c:1.5
--- src/external/bsd/nvi/dist/ip/ip_read.c:1.4 Wed Nov 27 15:37:29 2013
+++ src/external/bsd/nvi/dist/ip/ip_read.c Wed Nov 27 15:44:56 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_read.c,v 1.4 2013/11/27 20:37:29 christos Exp $ */
+/* $NetBSD: ip_read.c,v 1.5 2013/11/27 20:44:56 christos Exp $ */
/*-
* Copyright (c) 1996
* Keith Bostic. All rights reserved.
@@ -232,8 +232,7 @@ ip_read(SCR *sp, IP_PRIVATE *ipp, struct
poll.tv_usec = 0;
if (tp != NULL) {
FD_SET(fd, &rdfd);
- switch (select(fd + 1,
- &rdfd, NULL, NULL, tp == NULL ? &poll : tp)) {
+ switch (select(fd + 1, &rdfd, NULL, NULL, tp)) {
case 0:
return (INP_TIMEOUT);
case -1: