diff --git a/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java b/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java index 98a0793e516..9390b774f1b 100644 --- a/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java +++ b/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java @@ -449,7 +449,6 @@ public class IAMServiceImpl extends ManagerBase implements IAMService, Manager { @DB @Override public AclGroup removeAclPoliciesFromGroup(final List policyIds, final Long groupId) { - final Account caller = CallContext.current().getCallingAccount(); // get the Acl Group entity AclGroup group = _aclGroupDao.findById(groupId); if (group == null) { @@ -548,7 +547,6 @@ public class IAMServiceImpl extends ManagerBase implements IAMService, Manager { @Override public AclPolicy addAclPermissionToAclPolicy(long aclPolicyId, String entityType, String scope, Long scopeId, String action, String accessType, Permission perm) { - Account caller = CallContext.current().getCallingAccount(); // get the Acl Policy entity AclPolicy policy = _aclPolicyDao.findById(aclPolicyId); if (policy == null) {