mirror of https://github.com/ipxe/ipxe.git
Remove unnecessary variable.
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
|
* With PME set the chip will scan incoming packets but
|
||||||
* nothing will be written to memory.
|
* nothing will be written to memory.
|
||||||
*/
|
*/
|
||||||
SavedClkRun = inl (np->ioaddr + ClkRun);
|
outl (inl (np->ioaddr + ClkRun) & ~0x100, np->ioaddr + ClkRun);
|
||||||
outl (SavedClkRun & ~0x100, np->ioaddr + ClkRun);
|
|
||||||
|
|
||||||
/* Set MAC address in NIC
|
/* Set MAC address in NIC
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -182,8 +182,6 @@ enum MIntrCtrl_bits {
|
||||||
MICRIntEn = 0x2,
|
MICRIntEn = 0x2,
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint32_t SavedClkRun;
|
|
||||||
|
|
||||||
/* CFG bits [13:16] [18:23] */
|
/* CFG bits [13:16] [18:23] */
|
||||||
#define CFG_RESET_SAVE 0xfde000
|
#define CFG_RESET_SAVE 0xfde000
|
||||||
/* WCSR bits [0:4] [9:10] */
|
/* WCSR bits [0:4] [9:10] */
|
||||||
|
|
Loading…
Reference in New Issue