[PATCH 1/2] coresight: stm: Remove redundant NULL checks