mirror of
https://github.com/ipxe/ipxe
synced 2026-05-04 03:03:43 +03:00
Automatically updated using
perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev\s*\)\s*{\s*struct nic \*nic.*?$/_disable ( struct nic *nic ) {/ms' *.c
perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev(\s*__unused)?\)\s*{/_disable ( struct nic *nic$1 ) {/ms' *.c
This commit is contained in:
@@ -511,9 +511,7 @@ static void rtl_irq(struct nic *nic, irq_action_t action)
|
||||
}
|
||||
}
|
||||
|
||||
static void rtl_disable(struct dev *dev)
|
||||
{
|
||||
struct nic *nic = (struct nic *)dev;
|
||||
static void rtl_disable ( struct nic *nic ) {
|
||||
/* merge reset and disable */
|
||||
rtl_reset(nic);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user