ecryptfs: Return an error code only as a constant in ecryptfs_add_global_auth_tok()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 19 Aug 2017 15:51:53 +0000 (17:51 +0200)
committerTyler Hicks <tyhicks@canonical.com>
Mon, 6 Nov 2017 18:23:40 +0000 (18:23 +0000)
commita463ce5bbd99fef6e1012cebe7b6764794ec07d8
tree28485a3ce1509f824bbf05f295ffc8a3d697ac1e
parent1a0bba4ff086d73a88f9dbadaf4831aefce55f27
ecryptfs: Return an error code only as a constant in ecryptfs_add_global_auth_tok()

* Return an error code without storing it in an intermediate variable.

* Delete the jump target "out" and the local variable "rc"
  which became unnecessary with this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/keystore.c