]> asedeno.scripts.mit.edu Git - linux.git/commit
fs: cifs: cifsssmb: Change return type of convert_ace_to_cifs_ace
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Tue, 2 Jul 2019 18:20:02 +0000 (23:50 +0530)
committerSteve French <stfrench@microsoft.com>
Mon, 8 Jul 2019 03:37:43 +0000 (22:37 -0500)
commit0aa3a24be011676b7231fde9a5b39ae6cd3092b4
tree912e6b3f79b3a2a7233d5118864e240c06808735
parente7348e35a34dc61d161f44b0e42e6a041337595c
fs: cifs: cifsssmb: Change return type of convert_ace_to_cifs_ace

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

fixes below issue reported by coccicheck
fs/cifs/cifssmb.c:3606:7-9: Unneeded variable: "rc". Return "0" on line
3620

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifssmb.c