acl_delete_entry(): remove write-only variable
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
412fd7a34c
commit
959c7ab51e
@ -76,7 +76,6 @@ _entry_matches(const acl_entry_t a, const acl_entry_t b)
|
||||
int
|
||||
acl_delete_entry(acl_t acl, acl_entry_t entry_d)
|
||||
{
|
||||
struct acl *acl_int;
|
||||
struct acl_entry entry_int;
|
||||
int i, j, found = 0;
|
||||
|
||||
@ -85,8 +84,6 @@ acl_delete_entry(acl_t acl, acl_entry_t entry_d)
|
||||
return (-1);
|
||||
}
|
||||
|
||||
acl_int = &acl->ats_acl;
|
||||
|
||||
if (_entry_brand(entry_d) != _acl_brand(acl)) {
|
||||
errno = EINVAL;
|
||||
return (-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user