Delete useless #ifdef; make it more obvious if setting TSO fails.

This commit is contained in:
adrian 2009-05-27 19:31:50 +00:00
parent 3779b68747
commit 6c6591677c

View File

@ -352,9 +352,6 @@ xennet_get_rx_ref(struct netfront_info *np, RING_IDX ri)
return ref;
}
#ifdef DEBUG
#endif
#define IPRINTK(fmt, args...) \
printf("[XEN] " fmt, ##args)
#define WPRINTK(fmt, args...) \
@ -1738,7 +1735,7 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
ifp->if_capenable |= IFCAP_TSO4;
ifp->if_hwassist |= CSUM_TSO;
} else {
DPRINTK("Xen requires tx checksum offload"
IPRINTK("Xen requires tx checksum offload"
" be enabled to use TSO\n");
error = EINVAL;
}