operations: Remove network connection method

This commit is contained in:
Pali Rohár committed 2012-11-15 13:13:32 +01:00
1 parent cc8cca84ef
commit 09a6405501
2 files changed
-4

No files matched your search

-2
View File
@@ -75,8 +75,6 @@ struct device_info * dev_detect(void) {
return dev;
}
/* TODO: NETWORK */
clean:
usb_close_device(usb);
free(dev);
-2
View File
@@ -27,14 +27,12 @@ enum connection_method {
METHOD_UNKNOWN = 0,
METHOD_USB,
METHOD_LOCAL,
METHOD_NETWORK,
};
struct device_info {
enum connection_method method;
enum device detected_device;
int16_t detected_hwrev;
/* TODO: use union */
struct usb_device_info * usb;
};