Remove unnecessary err assignment