summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-11-09 12:34:13 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-27 18:24:45 +0100
commit397af5a7fa1db08b8b24dbd67d350b21263035a8 (patch)
tree40139727e3c126fa1f429982357d966e312ada66 /src
parenta117f51165005d880af58d017e6e7e1881b54ddd (diff)
downloadsssd-397af5a7fa1db08b8b24dbd67d350b21263035a8.tar.gz
sssd-397af5a7fa1db08b8b24dbd67d350b21263035a8.tar.xz
sssd-397af5a7fa1db08b8b24dbd67d350b21263035a8.zip
Remove unused parameter from groupmod
Diffstat (limited to 'src')
-rw-r--r--src/python/pysss.c2
-rw-r--r--src/tools/sss_groupmod.c2
-rw-r--r--src/tools/sss_sync_ops.c1
-rw-r--r--src/tools/sss_sync_ops.h1
4 files changed, 2 insertions, 4 deletions
diff --git a/src/python/pysss.c b/src/python/pysss.c
index 8f362ffe0..5fecbb307 100644
--- a/src/python/pysss.c
+++ b/src/python/pysss.c
@@ -717,7 +717,7 @@ static PyObject *py_sss_groupmod(PySssLocalObject *self,
in_transaction = true;
/* groupmod */
- tctx->error = groupmod(tctx, tctx->sysdb, tctx->octx);
+ tctx->error = groupmod(tctx, tctx->octx);
if (tctx->error) {
PyErr_SetSssError(tctx->error);
goto fail;
diff --git a/src/tools/sss_groupmod.c b/src/tools/sss_groupmod.c
index 10deea885..39c46d1cb 100644
--- a/src/tools/sss_groupmod.c
+++ b/src/tools/sss_groupmod.c
@@ -202,7 +202,7 @@ int main(int argc, const char **argv)
in_transaction = true;
/* groupmod */
- tctx->error = groupmod(tctx, tctx->sysdb, tctx->octx);
+ tctx->error = groupmod(tctx, tctx->octx);
if (tctx->error) {
goto done;
}
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
index 539d09ca4..486af85db 100644
--- a/src/tools/sss_sync_ops.c
+++ b/src/tools/sss_sync_ops.c
@@ -247,7 +247,6 @@ int usermod(TALLOC_CTX *mem_ctx,
* Public interface for modifying groups
*/
int groupmod(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct ops_ctx *data)
{
struct sysdb_attrs *attrs = NULL;
diff --git a/src/tools/sss_sync_ops.h b/src/tools/sss_sync_ops.h
index 0da497ad4..5fed1cfa6 100644
--- a/src/tools/sss_sync_ops.h
+++ b/src/tools/sss_sync_ops.h
@@ -87,7 +87,6 @@ int groupdel(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
struct ops_ctx *data);
int groupmod(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct ops_ctx *data);
int sysdb_getpwnam_sync(TALLOC_CTX *mem_ctx,