Remove extraneous debug statements.
Noticed by: Andrey Chernov
This commit is contained in:
parent
512a90a235
commit
fad994205a
@ -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…
x
Reference in New Issue
Block a user