libceph: drop ac->ops->name field

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Ilya Dryomov 2020-10-26 17:05:44 +01:00
parent 59711f9ec2
commit c1c0ce78f4
3 changed files with 0 additions and 4 deletions

View File

@ -32,8 +32,6 @@ struct ceph_auth_handshake {
}; };
struct ceph_auth_client_ops { struct ceph_auth_client_ops {
const char *name;
/* /*
* true if we are authenticated and can connect to * true if we are authenticated and can connect to
* services. * services.

View File

@ -118,7 +118,6 @@ static int ceph_auth_none_create_authorizer(
} }
static const struct ceph_auth_client_ops ceph_auth_none_ops = { static const struct ceph_auth_client_ops ceph_auth_none_ops = {
.name = "none",
.reset = reset, .reset = reset,
.destroy = destroy, .destroy = destroy,
.is_authenticated = is_authenticated, .is_authenticated = is_authenticated,

View File

@ -1058,7 +1058,6 @@ static int ceph_x_check_message_signature(struct ceph_auth_handshake *auth,
} }
static const struct ceph_auth_client_ops ceph_x_ops = { static const struct ceph_auth_client_ops ceph_x_ops = {
.name = "x",
.is_authenticated = ceph_x_is_authenticated, .is_authenticated = ceph_x_is_authenticated,
.should_authenticate = ceph_x_should_authenticate, .should_authenticate = ceph_x_should_authenticate,
.build_request = ceph_x_build_request, .build_request = ceph_x_build_request,