Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 045c5519 authored by Anna Schumaker's avatar Anna Schumaker
Browse files

NFS: Return the comparison result directly in nfs41_match_stateid()

parent 49ad0145
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -9116,10 +9116,8 @@ static bool nfs41_match_stateid(const nfs4_stateid *s1,

	if (s1->seqid == s2->seqid)
		return true;
	if (s1->seqid == 0 || s2->seqid == 0)
		return true;

	return false;
	return s1->seqid == 0 || s2->seqid == 0;
}

#endif /* CONFIG_NFS_V4_1 */