Refine target_if_ext_twt_evt.c to remove duplicate conditional checks. Also fix some code style errors by adding a blank line return to last return in the API Change-Id: I759becd864293b8bec35cb54763bdf4b047537c2 CRs-Fixed: 3402852