Remove unneeded err assignment