nfsd: Remove assignments inside conditions