ecryptfs: Change return type of ecryptfs_process_flags
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Tue, 2 Jul 2019 17:47:24 +0000 (23:17 +0530)
committerTyler Hicks <tyhicks@canonical.com>
Tue, 2 Jul 2019 19:28:02 +0000 (19:28 +0000)
commit7451c54abc9139585492605d9e91dec2d26c6457
treec45481e8621664118fb24f4ce83e14951b686e29
parentc036061be907b8bcf8c030cf4d2fb97a04d6f5d1
ecryptfs: Change return type of ecryptfs_process_flags

Change return type of ecryptfs_process_flags from int to void as it
never fails.

fixes below issue reported by coccicheck

s/ecryptfs/crypto.c:870:5-7: Unneeded variable: "rc". Return "0" on line
883

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
[tyhicks: Remove the return value line from the function documentation]
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/crypto.c