[Acc] [PATCH 16/16] uadk: remove redundant code and unused variables