svn commit: r256118 - head/sys/dev/cxgbe

Dimitry Andric dim at FreeBSD.org
Mon Oct 7 16:56:56 UTC 2013


Author: dim
Date: Mon Oct  7 16:56:56 2013
New Revision: 256118
URL: http://svnweb.freebsd.org/changeset/base/256118

Log:
  Remove redundant declaration of cpu_clflush_line_size in
  sys/dev/cxgbe/t4_sge.c, to silence a gcc warning.
  
  Approved by:	re (gjb)
  MFC after:	3 days

Modified:
  head/sys/dev/cxgbe/t4_sge.c

Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c	Mon Oct  7 16:55:34 2013	(r256117)
+++ head/sys/dev/cxgbe/t4_sge.c	Mon Oct  7 16:56:56 2013	(r256118)
@@ -215,10 +215,6 @@ static int handle_fw_msg(struct sge_iq *
 
 static int sysctl_uint16(SYSCTL_HANDLER_ARGS);
 
-#if defined(__i386__) || defined(__amd64__)
-extern u_int cpu_clflush_line_size;
-#endif
-
 /*
  * Called on MOD_LOAD.  Validates and calculates the SGE tunables.
  */


More information about the svn-src-head mailing list