lib/efi: Cleanup read/write routines
[petitboot] / discover / sysinfo.c
index 8497959320296b0b2f0e371a24c78d99099188cf..a9d7ff547b11ffb22a40bbdf4e738448de4f6a16 100644 (file)
@@ -18,16 +18,6 @@ const struct system_info *system_info_get(void)
        return sysinfo;
 }
 
-bool system_info_network_available(void)
-{
-       unsigned int i;
-
-       for (i = 0; i < sysinfo->n_interfaces; i++)
-               if (sysinfo->interfaces[i]->address)
-                       return true;
-       return false;
-}
-
 void system_info_set_interface_address(unsigned int hwaddr_size,
                uint8_t *hwaddr, const char *address)
 {