mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 14:32:49 +03:00
Remove unnecessary variable.
This commit is contained in:
@@ -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] */
|
||||
|
||||
Reference in New Issue
Block a user