sdag: Delete two more dead variables, and surrounding logic