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

Commit 81b68de4 authored by Anna Schumaker's avatar Anna Schumaker
Browse files

NFS: No need to set and return status in nfs41_lock_expired()

parent 9df1336c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6282,8 +6282,7 @@ static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *reques
	if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) ||
	    test_bit(NFS_LOCK_LOST, &lsp->ls_flags))
		return 0;
	status = nfs4_lock_expired(state, request);
	return status;
	return nfs4_lock_expired(state, request);
}
#endif