diff options
author | Sage Weil <sage@inktank.com> | 2013-03-25 18:26:14 +0100 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 06:17:14 +0200 |
commit | 27859f9773e4a0b2042435b13400ee2c891a61f4 (patch) | |
tree | 28b8e7133959c88f4de89cc98eee2016874b1ca6 /net/ceph/auth_x.c | |
parent | libceph: add update_authorizer auth method (diff) | |
download | linux-27859f9773e4a0b2042435b13400ee2c891a61f4.tar.xz linux-27859f9773e4a0b2042435b13400ee2c891a61f4.zip |
libceph: wrap auth ops in wrapper functions
Use wrapper functions that check whether the auth op exists so that callers
do not need a bunch of conditional checks. Simplifies the external
interface.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'net/ceph/auth_x.c')
-rw-r--r-- | net/ceph/auth_x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ceph/auth_x.c b/net/ceph/auth_x.c index 2d5981555cd6..96238ba95f2b 100644 --- a/net/ceph/auth_x.c +++ b/net/ceph/auth_x.c @@ -562,7 +562,6 @@ static int ceph_x_update_authorizer( { struct ceph_x_authorizer *au; struct ceph_x_ticket_handler *th; - int ret; th = get_ticket_handler(ac, peer_type); if (IS_ERR(th)) |