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 d9e7d0b..5f64f66 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 af8ae50..70e86e4 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 a265792..9815cfe 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,