Fixed some left-over network warnings.
This commit is contained in:
@@ -59,16 +59,6 @@ nmc93cxx_eeprom_log(int lvl, const char *fmt, ...)
|
||||
# define nmc93cxx_eeprom_log(lvl, fmt, ...)
|
||||
#endif
|
||||
|
||||
static void
|
||||
nmc93cxx_eeprom_save(nmc93cxx_eeprom_t *eeprom)
|
||||
{
|
||||
FILE *fp = nvr_fopen(eeprom->filename, "wb");
|
||||
if (fp) {
|
||||
fwrite(eeprom->dev.data, 2, eeprom->size, fp);
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
|
||||
static void *
|
||||
nmc93cxx_eeprom_init_params(UNUSED(const device_t *info), void *params)
|
||||
{
|
||||
|
||||
@@ -1327,7 +1327,6 @@ tulip_pci_write(UNUSED(int func), int addr, uint8_t val, void *priv)
|
||||
static void *
|
||||
nic_init(const device_t *info)
|
||||
{
|
||||
uint8_t eeprom_default_local[128];
|
||||
nmc93cxx_eeprom_params_t params;
|
||||
TULIPState *s = calloc(1, sizeof(TULIPState));
|
||||
char filename[1024] = { 0 };
|
||||
|
||||
Reference in New Issue
Block a user