usb: Kill left-over cdefs.h includes

These includes were for __FBSD_RCSID() macro. They weren't formatted
like the rest of the tree so weren't trimmed automatically when that
script was run. Trim them now.

MFC After: 1 week
Sponsored by:		Netflix

(cherry picked from commit ca48e43ba9ee73a07cdbad8365117793b01273bb)
This commit is contained in:
Warner Losh 2025-03-04 14:42:28 -07:00
parent 74776eba28
commit 642fc04eda
68 changed files with 0 additions and 69 deletions

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_platform.h"
#include "opt_acpi.h"

View file

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_acpi.h"
#include <sys/param.h>

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>

View file

@ -31,7 +31,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* EHCI driver for Freescale i.MX SoCs which incorporate the USBOH3 controller.
*/

View file

@ -31,7 +31,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>

View file

@ -35,7 +35,6 @@
* FDT attachment driver for the USB Enhanced Host Controller.
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/stdint.h>

View file

@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* USB Enhanced Host Controller Driver, a.k.a. USB 2.0 controller.
*

View file

@ -32,7 +32,6 @@
* Generic EHCI driver based on the Allwinner A10 EHCI driver
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>

View file

@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>

View file

@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_acpi.h"
#include <sys/param.h>

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>

View file

@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* USB Open Host Controller driver.
*

View file

@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/* Universal Host Controller Interface
*
* UHCI spec: http://www.intel.com/

View file

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -29,8 +29,6 @@
* Xilinx DWC3 glue
*/
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>

View file

@ -58,7 +58,6 @@
* giving me an opportunity to do this work.
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -4,7 +4,6 @@
* $NetBSD: uhid.c,v 1.54 2002/09/23 05:51:21 simonb Exp $
*/
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -1,4 +1,3 @@
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* HID spec: http://www.usb.org/developers/devclass_docs/HID1_11.pdf
*/

View file

@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* HID spec: https://www.usb.org/sites/default/files/documents/hid1_11.pdf
*/

View file

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* MS Windows 7/8/10 compatible USB HID Multi-touch Device driver.
* https://msdn.microsoft.com/en-us/library/windows/hardware/jj151569(v=vs.85).aspx

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_evdev.h"
#include <sys/param.h>

View file

@ -30,7 +30,6 @@
*
*/
#include <sys/cdefs.h>
/* Driver for arbitrary double bulk pipe devices.
* The driver assumes that there will be the same driver on the other side.
*

View file

@ -19,7 +19,6 @@
/* Driver for Microdia's HID based TEMPer Temperature sensor */
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -25,7 +25,6 @@
*
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -35,7 +35,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* ADMtek AN986 Pegasus and AN8511 Pegasus II USB to ethernet driver.
* Datasheet is available from http://www.admtek.com.tw.

View file

@ -32,7 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* ASIX Electronics AX88172/AX88178/AX88778 USB 2.0 ethernet driver.
* Used in the LinkSys USB200M and various other adapters.

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* ASIX Electronics AX88178A/AX88179/AX88179A USB 2.0/3.0 gigabit ethernet
* driver.

View file

@ -47,7 +47,6 @@
* http://www.usb.org/developers/devclass_docs/NCM10.zip
*/
#include <sys/cdefs.h>
#include <sys/gsb_crc32.h>
#include <sys/eventhandler.h>
#include <sys/stdint.h>

View file

@ -37,7 +37,6 @@
* https://usb.org/sites/default/files/CDC_EEM10.pdf
*/
#include <sys/cdefs.h>
#include <sys/gsb_crc32.h>
#include <sys/eventhandler.h>
#include <sys/stdint.h>

View file

@ -32,7 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* CATC USB-EL1210A USB to ethernet driver. Used in the CATC Netmate
* adapters and others.

View file

@ -31,7 +31,6 @@
* the Apple iPhone Ethernet driver.
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -32,7 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Kawasaki LSI KL5KUSB101B USB to ethernet adapter driver.
*

View file

@ -80,7 +80,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Moschip MCS7730/MCS7830/MCS7832 USB to Ethernet controller
* The datasheet is available at the following URL:

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* USB-To-Ethernet adapter driver for Microchip's LAN78XX and related families.
*

View file

@ -58,7 +58,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* RealTek RTL8150 USB to fast ethernet controller driver.
* Datasheet is available from

View file

@ -26,7 +26,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Microchip LAN9xxx devices (https://www.microchip.com/en-us/product/lan9500a)
*

View file

@ -44,7 +44,6 @@
* External PHYs
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -20,7 +20,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -27,7 +27,6 @@
*
*/
#include <sys/cdefs.h>
/*
* driver for RealTek RTL8150 internal PHY
*/

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.

View file

@ -64,7 +64,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* BWCT serial adapter driver
*/

View file

@ -57,7 +57,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Driver for WinChipHead CH341/340, the worst USB-serial chip in the
* world.

View file

@ -1,4 +1,3 @@
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -1,6 +1,5 @@
/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
#include <sys/cdefs.h>
#define UFOMA_HANDSFREE
/*-
* SPDX-License-Identifier: BSD-2-Clause

View file

@ -31,7 +31,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* NOTE: all function names beginning like "uftdi_cfg_" can only
* be called from within the config thread function !

View file

@ -43,7 +43,6 @@
* Contact isis@cs.umd.edu if you have any questions/comments about this driver
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -1,4 +1,3 @@
#include <sys/cdefs.h>
/* $NetBSD: ulpt.c,v 1.60 2003/10/04 21:19:50 augustss Exp $ */
/*-

View file

@ -39,7 +39,6 @@
* quad-port mos7840.
*
*/
#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>

View file

@ -1,4 +1,3 @@
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -1,6 +1,5 @@
/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -1,6 +1,5 @@
/* $NetBSD: uplcom.c,v 1.21 2001/11/13 06:24:56 lukem Exp $ */
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
* All rights reserved.

View file

@ -1,6 +1,5 @@
/* $OpenBSD: uslcom.c,v 1.17 2007/11/24 10:52:12 jsg Exp $ */
#include <sys/cdefs.h>
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
*

View file

@ -1,6 +1,5 @@
/* $NetBSD: usb/uvscom.c,v 1.1 2002/03/19 15:08:42 augustss Exp $ */
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -1,4 +1,3 @@
#include <sys/cdefs.h>
/*-
* SPDX-License-Identifier: BSD-2-Clause
*

View file

@ -30,7 +30,6 @@
* its contributors.
*/
#include <sys/cdefs.h>
/*
* 2000/3/24 added NetBSD/OpenBSD support (from Alex Nemirovsky)
* 2000/3/07 use two bulk-pipe handles for read and write (Dirk)

View file

@ -37,7 +37,6 @@
* USB template for CDC ACM (serial), CDC ECM (network), and CDC MSC (storage).
*/
#include <sys/cdefs.h>
#ifdef USB_GLOBAL_INCLUDE_FILE
#include USB_GLOBAL_INCLUDE_FILE
#else

View file

@ -37,7 +37,6 @@
* This file contains the USB template for USB Networking and Serial
*/
#include <sys/cdefs.h>
#ifdef USB_GLOBAL_INCLUDE_FILE
#include USB_GLOBAL_INCLUDE_FILE
#else

View file

@ -15,7 +15,6 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
/*
* Driver for Realtek RTL8188SU/RTL8191SU/RTL8192SU.
*

View file

@ -18,7 +18,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
/*-
* Ralink Technology RT2501USB/RT2601USB chipset driver
* http://www.ralinktech.com.tw/

View file

@ -17,7 +17,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
/*-
* Ralink Technology RT2700U/RT2800U/RT3000U/RT3900E chipset driver.
* http://www.ralinktech.com/

View file

@ -50,7 +50,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
/*-
* Driver for Atheros AR5523 USB parts.
*

View file

@ -19,7 +19,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
/*-
* Ralink Technology RT2500USB chipset driver
* http://www.ralinktech.com/

View file

@ -14,7 +14,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
#include "opt_wlan.h"
#include <sys/param.h>

View file

@ -18,7 +18,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
/*
* ZyDAS ZD1211/ZD1211B USB WLAN driver.
*/