short-circuit no_effect check

Change-Id: Ib55002b5dec938acb91b1d145ed440fc0dcd6b81