libceph: drop ac->ops->name field
authorIlya Dryomov <idryomov@gmail.com>
Mon, 26 Oct 2020 16:05:44 +0000 (17:05 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:50 +0000 (23:21 +0100)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/auth.h
net/ceph/auth_none.c
net/ceph/auth_x.c

index d9e7d0bcdaf19c94cd8150e6a37866e34a9acaf2..5f64f66309fa24a4e8e2d503c35404b1a1a8b716 100644 (file)
@@ -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.
index af8ae507e861aca90962983687713329bb8276ac..70e86e4622502881d88c00da908b1416c5ed9f47 100644 (file)
@@ -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,
index a265792642dc47f1c75a7fe7640e6b252ad9344a..9815cfe42af097a274957ee73cb4d4c2f3fe8985 100644 (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 = {
-       .name = "x",
        .is_authenticated = ceph_x_is_authenticated,
        .should_authenticate = ceph_x_should_authenticate,
        .build_request = ceph_x_build_request,