mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-05 19:15:05 +00:00
Remove unnecessary variable.
This commit is contained in:
parent
c194b0c4bf
commit
9a4ed0f2d5
@ -332,8 +332,7 @@ static int natsemi_open (struct net_device *netdev)
|
||||
* With PME set the chip will scan incoming packets but
|
||||
* nothing will be written to memory.
|
||||
*/
|
||||
SavedClkRun = inl (np->ioaddr + ClkRun);
|
||||
outl (SavedClkRun & ~0x100, np->ioaddr + ClkRun);
|
||||
outl (inl (np->ioaddr + ClkRun) & ~0x100, np->ioaddr + ClkRun);
|
||||
|
||||
/* Set MAC address in NIC
|
||||
*/
|
||||
|
@ -182,8 +182,6 @@ enum MIntrCtrl_bits {
|
||||
MICRIntEn = 0x2,
|
||||
};
|
||||
|
||||
static uint32_t SavedClkRun;
|
||||
|
||||
/* CFG bits [13:16] [18:23] */
|
||||
#define CFG_RESET_SAVE 0xfde000
|
||||
/* WCSR bits [0:4] [9:10] */
|
||||
|
Loading…
Reference in New Issue
Block a user