Commit c1c0ce78 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: drop ac->ops->name field



Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 59711f9e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -32,8 +32,6 @@ struct ceph_auth_handshake {
};

struct ceph_auth_client_ops {
	const char *name;

	/*
	 * true if we are authenticated and can connect to
	 * services.
+0 −1
Original line number Diff line number Diff line
@@ -118,7 +118,6 @@ static int ceph_auth_none_create_authorizer(
}

static const struct ceph_auth_client_ops ceph_auth_none_ops = {
	.name = "none",
	.reset = reset,
	.destroy = destroy,
	.is_authenticated = is_authenticated,
+0 −1
Original line number Diff line number Diff line
@@ -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 = {
	.name = "x",
	.is_authenticated = ceph_x_is_authenticated,
	.should_authenticate = ceph_x_should_authenticate,
	.build_request = ceph_x_build_request,