diff --git a/src/platform/Linux/ConnectivityManagerImpl.h b/src/platform/Linux/ConnectivityManagerImpl.h index 70d2f14cbeb9f3..4ec686f838e4b4 100644 --- a/src/platform/Linux/ConnectivityManagerImpl.h +++ b/src/platform/Linux/ConnectivityManagerImpl.h @@ -159,16 +159,10 @@ class ConnectivityManagerImpl final : public ConnectivityManager, #endif public: - const char * GetEthernetIfName() - { - return (mEthIfName[0] == '\0') ? nullptr : mEthIfName; - } + const char * GetEthernetIfName() { return (mEthIfName[0] == '\0') ? nullptr : mEthIfName; } #if CHIP_DEVICE_CONFIG_ENABLE_WIFI - const char * GetWiFiIfName() - { - return (sWiFiIfName[0] == '\0') ? nullptr : sWiFiIfName; - } + const char * GetWiFiIfName() { return (sWiFiIfName[0] == '\0') ? nullptr : sWiFiIfName; } #endif private: