Skip to content

Commit

Permalink
[Linux] Remove unused class from BLE helper (#29544)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq authored Oct 3, 2023
1 parent 51f7c2e commit 1248c18
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/platform/Linux/bluez/Helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
#include <system/TLVPacketBufferBackingStore.h>

#include "BluezObjectIterator.h"
#include "BluezObjectList.h"
#include "Helper.h"

using namespace ::nl;
Expand All @@ -90,20 +89,6 @@ constexpr uint16_t kMaxConnectRetries = 4;

static BluezConnection * GetBluezConnectionViaDevice(BluezEndpoint * apEndpoint);

namespace {

class BluezEndpointObjectList : public BluezObjectList
{
public:
explicit BluezEndpointObjectList(BluezEndpoint * apEndpoint)
{
VerifyOrReturn(apEndpoint != nullptr, ChipLogError(DeviceLayer, "apEndpoint is NULL in %s", __func__));
Initialize(apEndpoint->mpObjMgr);
}
};

} // namespace

static gboolean BluezAdvertisingRelease(BluezLEAdvertisement1 * aAdv, GDBusMethodInvocation * aInvocation, gpointer apClosure)
{
bool isSuccess = false;
Expand Down

0 comments on commit 1248c18

Please sign in to comment.