Received: by mail.netbsd.org (Postfix, from userid 605) id B2B5A84F7F; Thu, 3 Mar 2022 05:51:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E6D9C84ED9 for ; Thu, 3 Mar 2022 05:51:44 +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 syvs3M5nCCzH for ; Thu, 3 Mar 2022 05:51:44 +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 82BE484CEF for ; Thu, 3 Mar 2022 05:51:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 80056FB24; Thu, 3 Mar 2022 05:51:44 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 3 Mar 2022 05:51:44 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220303055144.80056FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Thu Mar 3 05:51:44 UTC 2022 Modified Files: src/sys/dev/usb: if_axe.c if_axen.c if_smsc.c if_udav.c if_url.c Log Message: usbnet drivers: No need for usbnet_busy during attach. usbnet_detach cannot run until the attach routine has finished (unless a driver goes out of its way to tie its shoelaces together and explicitly call it during the attach routine, which none of them do), so there is no need to hang onto a reference count that we release before attach returns. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137 src/sys/dev/usb/if_axe.c cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.77 -r1.78 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.83 -r1.84 src/sys/dev/usb/if_udav.c src/sys/dev/usb/if_url.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.