From 09a640550166e7c77246411a3fc1456f9a8531bd Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Thu, 15 Nov 2012 13:13:32 +0100 Subject: operations: Remove network connection method --- src/operations.c | 2 -- src/operations.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/operations.c b/src/operations.c index 793499d..13c792c 100644 --- a/src/operations.c +++ b/src/operations.c @@ -75,8 +75,6 @@ struct device_info * dev_detect(void) { return dev; } - /* TODO: NETWORK */ - clean: usb_close_device(usb); free(dev); diff --git a/src/operations.h b/src/operations.h index 0da7cf4..4f446d1 100644 --- a/src/operations.h +++ b/src/operations.h @@ -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; }; -- cgit v1.2.3