Remove uneeded intermediate variable

This commit is contained in:
Baptiste Daroussin 2015-05-31 10:14:13 +00:00
parent 197419154e
commit e55af20b47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283810

View File

@ -116,9 +116,6 @@ chggrent(char const * login, struct group * grp)
int
delgrent(struct group * grp)
{
char group[MAXLOGNAME];
strlcpy(group, grp->gr_name, MAXLOGNAME);
return gr_update(NULL, group);
return (gr_update(NULL, grp->gr_name));
}