From 53a610534d2a933fcd04a9dfc5a5e80cb248f1ea Mon Sep 17 00:00:00 2001 From: Niraj Kumar Goit Date: Wed, 11 Aug 2021 18:28:41 +0530 Subject: [PATCH] Remove the unused code. Change-Id: I879885c7d2df9acf9495c7acc14ef7ec018b9269 Signed-off-by: Niraj Kumar Goit --- include/wifi-state.h | 1 - packaging/net-config.spec | 2 +- src/wifi-state.c | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) 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; -- 2.34.1