Remove uneeded local var