Author: adrian
Date: Wed May 27 19:31:50 2009
New Revision: 192927
URL: http://svn.freebsd.org/changeset/base/192927

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

Modified:
  head/sys/dev/xen/netfront/netfront.c

Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c        Wed May 27 19:28:04 2009        
(r192926)
+++ head/sys/dev/xen/netfront/netfront.c        Wed May 27 19:31:50 2009        
(r192927)
@@ -352,9 +352,6 @@ xennet_get_rx_ref(struct netfront_info *
        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, 
                                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;
                        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to