From owner-p4-projects Thu Sep 12 13:48:49 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DC62737B405; Thu, 12 Sep 2002 13:48:43 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F3A037B401 for ; Thu, 12 Sep 2002 13:48:43 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B90743E42 for ; Thu, 12 Sep 2002 13:48:43 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8CKmhJU068321 for ; Thu, 12 Sep 2002 13:48:43 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8CKmg5W068318 for perforce@freebsd.org; Thu, 12 Sep 2002 13:48:42 -0700 (PDT) Date: Thu, 12 Sep 2002 13:48:42 -0700 (PDT) Message-Id: <200209122048.g8CKmg5W068318@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 17421 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17421 Change 17421 by rwatson@rwatson_sproing on 2002/09/12 13:47:53 Remove unused function. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#85 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#85 (text+ko) ==== @@ -231,19 +231,6 @@ } static int -mac_mls_equal_range(struct mac_mls *a, struct mac_mls *b) -{ - - KASSERT((a->mm_flags & MAC_MLS_FLAG_RANGE) != 0, - ("mac_mls_equal_range: a not range")); - KASSERT((b->mm_flags & MAC_MLS_FLAG_RANGE) != 0, - ("mac_mls_equal_range: b not range")); - - return (mac_mls_equal_element(&a->mm_rangelow, &b->mm_rangelow) && - mac_mls_equal_element(&a->mm_rangehigh, &b->mm_rangehigh)); -} - -static int mac_mls_equal_single(struct mac_mls *a, struct mac_mls *b) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message