svn commit: r340871 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Sat Nov 24 15:22:58 UTC 2018


Author: arybchik
Date: Sat Nov 24 15:22:57 2018
New Revision: 340871
URL: https://svnweb.freebsd.org/changeset/base/340871

Log:
  sfxge(4): remove assertion on no longer used define
  
  MC_CMD_INIT_RXQ_OUT_LEN is not used any more.
  
  Submitted by:   Mark Spender <mspender at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18106

Modified:
  head/sys/dev/sfxge/common/ef10_rx.c

Modified: head/sys/dev/sfxge/common/ef10_rx.c
==============================================================================
--- head/sys/dev/sfxge/common/ef10_rx.c	Sat Nov 24 15:10:05 2018	(r340870)
+++ head/sys/dev/sfxge/common/ef10_rx.c	Sat Nov 24 15:22:57 2018	(r340871)
@@ -61,8 +61,6 @@ efx_mcdi_init_rxq(
 	uint32_t dma_mode;
 	boolean_t want_outer_classes;
 
-	/* If this changes, then the payload size might need to change. */
-	EFSYS_ASSERT3U(MC_CMD_INIT_RXQ_OUT_LEN, ==, 0);
 	EFSYS_ASSERT3U(size, <=, EFX_RXQ_MAXNDESCS);
 
 	if (ps_bufsize > 0)


More information about the svn-src-all mailing list