diff --git a/audio/pcm_decode.c b/audio/pcm_decode.c index b3ca6c525c..63477451ac 100644 --- a/audio/pcm_decode.c +++ b/audio/pcm_decode.c @@ -1284,8 +1284,7 @@ static void pcm_callback(FAR void *arg, uint16_t reason, { FAR struct pcm_decode_s *priv = (FAR struct pcm_decode_s *)arg; - - DEBUGASSERT(priv && apb && priv->export.upper); + DEBUGASSERT(priv && priv->export.upper); /* The buffer belongs to to an upper level. Just forward the event to * the next level up.