An extra null pointer check is not needed in a function like the destructor for the class “ot_data_t_buffer_cpu”.