Removed repeated instructions

@rjmackay check whether yanking that code is ok.