cifs: get rid of unneeded conditional in cifs_get_num_sgs()
authorPaulo Alcantara <pc@cjr.nz>
Tue, 31 Jan 2023 16:22:07 +0000 (13:22 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Feb 2023 17:48:48 +0000 (11:48 -0600)
commit89542781737a783d94ace958548caa0651bfbc5e
tree2a70f509adaf44363aa2df0df3a2e71ae268f6e1
parent3c0070f54b3128de498c2dd9934a21f0dd867111
cifs: get rid of unneeded conditional in cifs_get_num_sgs()

Just have @skip set to 0 after first iterations of the two nested
loops.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h