Remove extraneous debug statements.
Noticed by: Andrey Chernov
This commit is contained in:
parent
edabafcb01
commit
d29a9a83fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174768
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user