diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-13 08:30:56 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-13 11:54:52 -0500 |
commit | 4bea2cb840c0750835fba7c6af4619a9c699e374 (patch) | |
tree | 64bb4bfba9ddf6ba81af76f663b4cb6fcd782d4d | |
parent | a39eeeee48e42a91009af5f5c516c9dab98f4261 (diff) | |
download | sssd-4bea2cb840c0750835fba7c6af4619a9c699e374.tar.gz sssd-4bea2cb840c0750835fba7c6af4619a9c699e374.tar.xz sssd-4bea2cb840c0750835fba7c6af4619a9c699e374.zip |
Remove dead code
Coverity #12529
-rw-r--r-- | src/providers/data_provider_be.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c index 992ab3103..401b3a400 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; |