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

Commit 08e3daff authored by Amerigo Wang's avatar Amerigo Wang Committed by James Morris
Browse files

selinux: remove a useless return



The last return is unreachable, remove the 'return'
in default, let it fall through.

Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 937bf613
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -541,8 +541,8 @@ int mls_compute_sid(struct context *scontext,
	case AVTAB_MEMBER:
		/* Use the process effective MLS attributes. */
		return mls_context_cpy_low(newcontext, scontext);
	default:
		return -EINVAL;

	/* fall through */
	}
	return -EINVAL;
}