mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 00:07:27 +03:00
[build] Fix uses of literal 0 as a NULL pointer
Detected using sparse. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -130,9 +130,7 @@ typedef struct hfa384x
|
||||
} hfa384x_t;
|
||||
|
||||
/* The global instance of the hardware (i.e. where we store iobase and membase, in the absence of anywhere better to put them */
|
||||
static hfa384x_t hw_global = {
|
||||
0, 0, 0, 0, 0, 0, 0, {0,0,0,0,0,0}
|
||||
};
|
||||
static hfa384x_t hw_global;
|
||||
|
||||
/*
|
||||
* 802.11 headers in addition to those in hfa384x_tx_frame_t (LLC and SNAP)
|
||||
|
||||
Reference in New Issue
Block a user