Received: by mail.netbsd.org (Postfix, from userid 605) id E300E84F7E; Thu, 3 Mar 2022 05:51:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 22C3384F6D for ; Thu, 3 Mar 2022 05:51:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id IYJN6xmQ9XEM for ; Thu, 3 Mar 2022 05:51:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id A85D084CEF for ; Thu, 3 Mar 2022 05:51:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A58A4FB24; Thu, 3 Mar 2022 05:51:17 +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:17 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220303055117.A58A4FB24@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:17 UTC 2022 Modified Files: src/sys/dev/usb: if_aue.c if_axe.c if_axen.c if_cue.c if_kue.c if_mos.c if_mue.c if_smsc.c if_udav.c if_ure.c if_url.c Log Message: usbnet drivers: No need for usbnet_busy in uno_init. This callback always runs with the IFNET_LOCK held, and the interface cannot be detached until the IFNET_LOCK is released, so there is no need to hang onto a reference count here. (None of the usbnet drivers touch the IFNET_LOCK except to verify it is held sometimes.) To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/dev/usb/if_aue.c cvs rdiff -u -r1.134 -r1.135 src/sys/dev/usb/if_axe.c cvs rdiff -u -r1.76 -r1.77 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.94 -r1.95 src/sys/dev/usb/if_cue.c cvs rdiff -u -r1.107 -r1.108 src/sys/dev/usb/if_kue.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_mos.c cvs rdiff -u -r1.66 -r1.67 src/sys/dev/usb/if_mue.c cvs rdiff -u -r1.74 -r1.75 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/if_udav.c src/sys/dev/usb/if_url.c cvs rdiff -u -r1.43 -r1.44 src/sys/dev/usb/if_ure.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.