bnx2x: remove duplication of the BCM_VLAN macro
Subsystems (2)
PATCH 1/1 bnx2x: remove duplication of the BCM_VLAN macro
File bnx2.c already contains condition of the macro inclusion. So we can remove this.
Signed-off-by Denis Kirjanov <[email protected]>
---
drivers/net/bnx2x.h +0 -4
@@ -20,10 +20,6 @@* (you will need to reboot afterwards) */ /* #define BNX2X_STOP_ON_ERROR */ -#if defined(CONFIG_VLAN_8021Q ) || defined(CONFIG_VLAN_8021Q_MODULE ) -#define BCM_VLAN 1 -#endif -#define BNX2X_MULTI_QUEUE
On Wed, 2009-10-21 at 13:38 -0700, Denis Kirjanov
Quoted 2 lines
File
bnx2.calready contains condition of the macro inclusion. So we can remove this.
It is true that BCM_VLAN is defined in bnx2.c, however it is not defined in bnx2x_*.c files. The definition in bnx2x.h is needed for the bnx2x.ko module.
Please do not remove it.
Thanks,
Eilon
Quoted 18 lines
Signed-off-by Denis Kirjanov <[email protected]>---
drivers/net/bnx2x.h +0
-4@@ -20,10 +20,6 @@* (you will need to reboot afterwards) */ /* #define BNX2X_STOP_ON_ERROR */ -#if defined(CONFIG_VLAN_8021Q ) || defined(CONFIG_VLAN_8021Q_MODULE ) -#define BCM_VLAN 1 -#endif -#define BNX2X_MULTI_QUEUE