59 lines
2.0 KiB
Diff
59 lines
2.0 KiB
Diff
|
From 8a26d32bc9b71e85a42b7832891100a7249f92aa Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>
|
||
|
Date: Mon, 10 Apr 2017 11:45:54 +0200
|
||
|
Subject: [PATCH 42/93] IPA_ACCESS: Remove not used attribute
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
struct time_rules_ctx * is not used anywhere in in the access handler,
|
||
|
thus there's no need to store it.
|
||
|
|
||
|
Related:
|
||
|
https://pagure.io/SSSD/sssd/issue/2995
|
||
|
|
||
|
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
|
||
|
|
||
|
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
||
|
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
||
|
---
|
||
|
src/providers/ipa/ipa_access.c | 2 --
|
||
|
src/providers/ipa/ipa_access.h | 1 -
|
||
|
2 files changed, 3 deletions(-)
|
||
|
|
||
|
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
|
||
|
index 9682613e92a3c86a26a714287a51c26d56c804f9..67838cd92f3a926139fccee262544fcb14a25e4d 100644
|
||
|
--- a/src/providers/ipa/ipa_access.c
|
||
|
+++ b/src/providers/ipa/ipa_access.c
|
||
|
@@ -90,7 +90,6 @@ struct ipa_fetch_hbac_state {
|
||
|
struct ipa_access_ctx *access_ctx;
|
||
|
struct sdap_id_op *sdap_op;
|
||
|
struct dp_option *ipa_options;
|
||
|
- struct time_rules_ctx *tr_ctx;
|
||
|
|
||
|
struct sdap_search_base **search_bases;
|
||
|
|
||
|
@@ -146,7 +145,6 @@ ipa_fetch_hbac_send(TALLOC_CTX *mem_ctx,
|
||
|
state->access_ctx = access_ctx;
|
||
|
state->sdap_ctx = access_ctx->sdap_ctx;
|
||
|
state->ipa_options = access_ctx->ipa_options;
|
||
|
- state->tr_ctx = access_ctx->tr_ctx;
|
||
|
state->search_bases = access_ctx->hbac_search_bases;
|
||
|
|
||
|
if (state->search_bases == NULL) {
|
||
|
diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h
|
||
|
index 1e30a89a0792b09eb59ed31e249a428ae7d5ee08..eb19fc43819ad67be2128457365e18a91dd15b4a 100644
|
||
|
--- a/src/providers/ipa/ipa_access.h
|
||
|
+++ b/src/providers/ipa/ipa_access.h
|
||
|
@@ -35,7 +35,6 @@ enum ipa_access_mode {
|
||
|
struct ipa_access_ctx {
|
||
|
struct sdap_id_ctx *sdap_ctx;
|
||
|
struct dp_option *ipa_options;
|
||
|
- struct time_rules_ctx *tr_ctx;
|
||
|
time_t last_update;
|
||
|
struct sdap_access_ctx *sdap_access_ctx;
|
||
|
|
||
|
--
|
||
|
2.14.1
|
||
|
|