From: Niraj Kumar Goit Date: Wed, 11 Aug 2021 12:58:41 +0000 (+0530) Subject: Remove the unused code. X-Git-Tag: submit/tizen/20210908.150016~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53a610534d2a933fcd04a9dfc5a5e80cb248f1ea;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Remove the unused code. Change-Id: I879885c7d2df9acf9495c7acc14ef7ec018b9269 Signed-off-by: Niraj Kumar Goit --- diff --git a/include/wifi-state.h b/include/wifi-state.h index f8e63d9..88dbca9 100755 --- a/include/wifi-state.h +++ b/include/wifi-state.h @@ -41,7 +41,6 @@ typedef enum { NETCONFIG_WIFI_TECH_WPS_ONLY = 0x02, NETCONFIG_WIFI_TECH_POWERED = 0x03, NETCONFIG_WIFI_TECH_CONNECTED = 0x04, - NETCONFIG_WIFI_TECH_TETHERED = 0x05, } wifi_tech_state_e; typedef struct wifi_state_notifier{ diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 6de9d9f..42263fc 100755 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -1,7 +1,7 @@ Name: net-config Summary: TIZEN Network Configuration service Version: 1.2.10 -Release: 1 +Release: 2 Group: System/Network License: Apache-2.0 Source0: %{name}-%{version}.tar.gz diff --git a/src/wifi-state.c b/src/wifi-state.c index ee3b1d4..52db93b 100755 --- a/src/wifi-state.c +++ b/src/wifi-state.c @@ -122,8 +122,6 @@ char *_convert_wifi_technology_state_to_string(wifi_tech_state_e wifi_tech_state return "powered"; case NETCONFIG_WIFI_TECH_CONNECTED: return "connected"; - case NETCONFIG_WIFI_TECH_TETHERED: - return "tethered"; default: ERR("Invalid wifi_tech_state_e parameter"); break;