[SSSD] [PATCH] selinux: Remove unused parameter

Jakub Hrozek jhrozek at redhat.com
Tue Mar 26 20:56:17 UTC 2013


A simple one-liner, found by Coverity.
-------------- next part --------------
>From 877090897b53dc93919f1de73a9694fe15c2b881 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Tue, 26 Mar 2013 21:34:22 +0100
Subject: [PATCH] selinux: Remove unused parameter

https://fedorahosted.org/sssd/ticket/1848
---
 src/providers/ipa/ipa_selinux.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c
index 6705eea1ef4e582c4d6c76d310642c06b8152a61..ed44fac25fca89637ad5e650a0f0ba18ca97f74a 100644
--- a/src/providers/ipa/ipa_selinux.c
+++ b/src/providers/ipa/ipa_selinux.c
@@ -1279,7 +1279,6 @@ ipa_get_selinux_recv(struct tevent_req *req,
 /* Simply return success if HAVE_SELINUX_LOGIN_DIR is not defined. */
 void ipa_selinux_handler(struct be_req *be_req)
 {
-    struct be_ctx *be_ctx = be_req_get_be_ctx(be_req);
     struct pam_data *pd;
 
     pd = talloc_get_type(be_req_get_data(be_req), struct pam_data);
-- 
1.8.1.4



More information about the sssd-devel mailing list