[PATCH 2/3] coresight: ultrasoc-smb: simplify the code for check to_copy valid