libceph: remove unnecessary ret variable in ceph_auth_init()
authorzuoqilin <zuoqilin@yulong.com>
Thu, 10 Jun 2021 09:45:05 +0000 (17:45 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 28 Jun 2021 21:49:25 +0000 (23:49 +0200)
commitda6ebb4d67d93e16824f82cc47214825491d8e7a
tree4ad380cabd0160537531d4779c6766a5f3974d31
parent1e6de263d1164bf1361c4ee3f1252730daba96d1
libceph: remove unnecessary ret variable in ceph_auth_init()

There is no necessary to define variable assignment, just return
directly to simplify the steps.

Signed-off-by: zuoqilin <zuoqilin@yulong.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/auth.c