Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
kpschoedel committed Feb 23, 2021
1 parent 158df70 commit 1c429a4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/inet/TCPEndPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1532,9 +1532,7 @@ INET_ERROR TCPEndPoint::DoClose(INET_ERROR err, bool suppressCallback)
lingerStruct.l_linger = 0;

if (setsockopt(mSocket, SOL_SOCKET, SO_LINGER, &lingerStruct, sizeof(lingerStruct)) != 0)
{
ChipLogError(Inet, "SO_LINGER: %d", errno);
}
}

if (close(mSocket) != 0 && err == INET_NO_ERROR)
Expand Down
2 changes: 0 additions & 2 deletions src/platform/Linux/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,7 @@ void BLEManagerImpl::HandleTXCharChanged(BLE_CONNECTION_OBJECT conId, const uint

exit:
if (err != CHIP_NO_ERROR)
{
ChipLogError(DeviceLayer, "HandleTXCharChanged() failed: %s", ErrorStr(err));
}
}

void BLEManagerImpl::HandleRXCharWrite(BLE_CONNECTION_OBJECT conId, const uint8_t * value, size_t len)
Expand Down
6 changes: 0 additions & 6 deletions src/transport/NetworkProvisioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ CHIP_ERROR NetworkProvisioning::SendIPAddress(const Inet::IPAddress & addr)

exit:
if (CHIP_NO_ERROR != err)
{
ChipLogError(NetworkProvisioning, "Failed in sending IP address. error %s\n", ErrorStr(err));
}
return err;
}

Expand Down Expand Up @@ -242,9 +240,7 @@ CHIP_ERROR NetworkProvisioning::SendNetworkCredentials(const char * ssid, const

exit:
if (CHIP_NO_ERROR != err)
{
ChipLogError(NetworkProvisioning, "Failed in sending Network Creds. error %s\n", ErrorStr(err));
}
return err;
}

Expand Down Expand Up @@ -285,9 +281,7 @@ CHIP_ERROR NetworkProvisioning::SendThreadCredentials(const DeviceLayer::Interna

exit:
if (CHIP_NO_ERROR != err)
{
ChipLogError(NetworkProvisioning, "Failed to send Thread Credentials: %s", ErrorStr(err));
}
return err;
}

Expand Down

0 comments on commit 1c429a4

Please sign in to comment.