Received: by mail.netbsd.org (Postfix, from userid 605) id C7C9484F9D; Fri, 15 Jun 2018 08:34:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AADEA84F90 for ; Fri, 15 Jun 2018 08:34:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ILzj2Y7P94Td for ; Fri, 15 Jun 2018 08:34:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2AA3C84ECC for ; Fri, 15 Jun 2018 08:34:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 12AD3FBEC; Fri, 15 Jun 2018 08:34:19 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 15 Jun 2018 08:34:19 +0000 From: "matthew green" Subject: CVS commit: src/sys/altq To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180615083419.12AD3FBEC@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mrg Date: Fri Jun 15 08:34:18 UTC 2018 Modified Files: src/sys/altq: altq_priq.c Log Message: simplify priq_class_create(): if the alloc for cl_q fails, then only clean up required to to free cl. delete all the code at err_ret that was probably used in the past, and move the free + return upon failure earlier. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/altq/altq_priq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.