summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-12-19 05:17:40 +0000
committerkmacy <kmacy@FreeBSD.org>2007-12-19 05:17:40 +0000
commitfad994205a2448cabc9844c5f88c4e49ba86e7c9 (patch)
treef8a211d8f7f38a3e5d3777732590bacd9089e519
parent512a90a23520e7bf13a34b6879d6ef7fe8f566bd (diff)
downloadFreeBSD-src-fad994205a2448cabc9844c5f88c4e49ba86e7c9.zip
FreeBSD-src-fad994205a2448cabc9844c5f88c4e49ba86e7c9.tar.gz
Remove extraneous debug statements.
Noticed by: Andrey Chernov
-rw-r--r--sys/netinet/tcp_offload.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netinet/tcp_offload.c b/sys/netinet/tcp_offload.c
index b7eb159..fd4cefd 100644
--- a/sys/netinet/tcp_offload.c
+++ b/sys/netinet/tcp_offload.c
@@ -72,23 +72,17 @@ tcp_offload_connect(struct socket *so, struct sockaddr *nam)
ifp = rt->rt_ifp;
if ((ifp->if_capenable & IFCAP_TOE) == 0) {
- printf("no toe capability on %p\n", ifp);
-
error = EINVAL;
goto fail;
}
tdev = TOEDEV(ifp);
if (tdev == NULL) {
- printf("tdev not set\n");
-
error = EPERM;
goto fail;
}
if (tdev->tod_can_offload(tdev, so) == 0) {
- printf("not offloadable\n");
-
error = EPERM;
goto fail;
}
OpenPOWER on IntegriCloud