]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd7133dacf91e6b4f92ae392c6d9e113a2ef2c37
treec45481e8621664118fb24f4ce83e14951b686e29
parent637083c2ae292e1ad134a3150338e4b7e6b96d1b
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