summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-02-13 08:30:56 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-13 11:54:56 -0500
commitf260d308b157bb3f27ea85a768d9f40dad65e60f (patch)
tree96435326158bbaa93b8eb6ab36b5858130e61d4e /src
parent07647d65a0a7653303e00ec184edc1ad4aee060a (diff)
downloadsssd_unused-f260d308b157bb3f27ea85a768d9f40dad65e60f.tar.gz
sssd_unused-f260d308b157bb3f27ea85a768d9f40dad65e60f.tar.xz
sssd_unused-f260d308b157bb3f27ea85a768d9f40dad65e60f.zip
Remove dead code
Coverity #12529
Diffstat (limited to 'src')
-rw-r--r--src/providers/data_provider_be.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index 992ab310..401b3a40 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -1180,7 +1180,6 @@ static int be_host_handler(DBusMessage *message, struct sbus_connection *conn)
}
if (filter) {
- ret = EOK;
if (strncmp(filter, "name=", 5) == 0) {
req->filter_type = BE_FILTER_NAME;
req->filter_value = &filter[5];
@@ -1190,14 +1189,6 @@ static int be_host_handler(DBusMessage *message, struct sbus_connection *conn)
err_msg = "Invalid Filter";
goto done;
}
-
- if (ret != EOK) {
- err_maj = DP_ERR_FATAL;
- err_min = EINVAL;
- err_msg = "Invalid Filter";
- goto done;
- }
-
} else {
err_maj = DP_ERR_FATAL;
err_min = EINVAL;