ide: remove now redundant ->cur_dev checks