mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 02:52:36 +03:00
[pxe] Make pxe_init_structures() an initialisation function
pxe_init_structures() fills in the fields of the !PXE and PXENV+ structures that aren't known until gPXE starts up. Once gPXE is started, these values will never change. Make pxe_init_structures() an initialisation function so that PXE users don't have to worry about calling it.
This commit is contained in:
@@ -47,7 +47,6 @@ static int pxe_exec ( struct image *image ) {
|
||||
int rc;
|
||||
|
||||
/* Ensure that PXE stack is ready to use */
|
||||
pxe_init_structures();
|
||||
pxe_hook_int1a();
|
||||
|
||||
/* Arbitrarily pick the most recently opened network device */
|
||||
|
||||
Reference in New Issue
Block a user