Commit 7451c54
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 <[email protected]>
[tyhicks: Remove the return value line from the function documentation]
Signed-off-by: Tyler Hicks <[email protected]>1 parent c036061 commit 7451c54
1 file changed
+2
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
878 | | - | |
879 | | - | |
880 | 878 | | |
881 | | - | |
| 879 | + | |
882 | 880 | | |
883 | 881 | | |
884 | | - | |
885 | 882 | | |
886 | 883 | | |
887 | 884 | | |
| |||
894 | 891 | | |
895 | 892 | | |
896 | 893 | | |
897 | | - | |
898 | 894 | | |
899 | 895 | | |
900 | 896 | | |
| |||
1320 | 1316 | | |
1321 | 1317 | | |
1322 | 1318 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
| 1319 | + | |
1329 | 1320 | | |
1330 | 1321 | | |
1331 | 1322 | | |
| |||
0 commit comments