mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-12 18:08:15 +07:00
[PATCH] wrong ifdefs in 82596.c
ifdefs around variable declaration would better match those around its uses... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
3c13958620
commit
0018dfa48e
@ -614,7 +614,7 @@ static void rebuild_rx_bufs(struct net_device *dev)
|
|||||||
static int init_i596_mem(struct net_device *dev)
|
static int init_i596_mem(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct i596_private *lp = dev->priv;
|
struct i596_private *lp = dev->priv;
|
||||||
#if !defined(ENABLE_MVME16x_NET) && !defined(ENABLE_BVME6000_NET)
|
#if !defined(ENABLE_MVME16x_NET) && !defined(ENABLE_BVME6000_NET) || defined(ENABLE_APRICOT)
|
||||||
short ioaddr = dev->base_addr;
|
short ioaddr = dev->base_addr;
|
||||||
#endif
|
#endif
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
Loading…
Reference in New Issue
Block a user