[radio-spinel] remove unused method HandleHdlcError (#3301)

This commit is contained in:
Abtin Keshavarzian
2018-11-14 17:32:02 -08:00
committed by Jonathan Hui
parent bf72fd8f8d
commit 49523f72e6
2 changed files with 0 additions and 10 deletions
-9
View File
@@ -391,15 +391,6 @@ exit:
LogIfFail("Error handling hdlc frame", error);
}
void RadioSpinel::HandleHdlcError(void *aContext, otError aError, uint8_t *aBuffer, uint16_t aLength)
{
otLogWarnPlat("Error decoding hdlc frame: %s", otThreadErrorToString(aError));
OT_UNUSED_VARIABLE(aContext);
OT_UNUSED_VARIABLE(aError);
OT_UNUSED_VARIABLE(aBuffer);
OT_UNUSED_VARIABLE(aLength);
}
void RadioSpinel::HandleNotification(const uint8_t *aBuffer, uint16_t aLength)
{
spinel_prop_key_t key;
-1
View File
@@ -533,7 +533,6 @@ private:
va_list args);
otError ParseRadioFrame(otRadioFrame &aFrame, const uint8_t *aBuffer, uint16_t aLength);
static void HandleHdlcError(void *aContext, otError aError, uint8_t *aBuffer, uint16_t aLength);
static void HandleSpinelFrame(void *aContext, uint8_t *aBuffer, uint16_t aLength)
{
static_cast<RadioSpinel *>(aContext)->HandleSpinelFrame(aBuffer, aLength);