Netdev List
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: <netdev@vger.kernel.org>
Subject: [PATCH ethtool] sfc: Remove preprocessor condition from register table definitions
Date: Thu, 7 Nov 2013 19:58:43 +0000	[thread overview]
Message-ID: <1383854323.3802.12.camel@bwh-desktop.uk.level5networks.com> (raw)

This condition was mistakenly copied from the corresponding
definitions in the out-of-tree version of sfc.  It has no effect here.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
I've applied this change just after the 3.12 tag.

Ben.

 sfc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sfc.c b/sfc.c
index 1bb3689..9478b38 100644
--- a/sfc.c
+++ b/sfc.c
@@ -3739,9 +3739,7 @@ static const struct efx_nic_reg_table efx_nic_reg_tables[] = {
 	REGISTER_TABLE_CZ(MC_TREG_SMEM),
 	/* MSIX_PBA_TABLE is not mapped */
 	/* SRM_DBG is not mapped (and is redundant with BUF_FLL_TBL) */
-#if !defined(EFX_USE_KCOMPAT) || defined(EFX_HAVE_VMALLOC_REG_DUMP_BUF)
 	REGISTER_TABLE_BZ(RX_FILTER_TBL0),
-#endif
 	REGISTER_TABLE_DZ(BIU_MC_SFT_STATUS),
 };
 
-- 
1.8.1.4


-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

                 reply	other threads:[~2013-11-07 19:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383854323.3802.12.camel@bwh-desktop.uk.level5networks.com \
    --to=bhutchings@solarflare.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox