diff mbox series

usb: linux/usb.h: fix Excess kernel-doc description warning

Message ID 20231223050636.14022-1-rdunlap@infradead.org (mailing list archive)
State Accepted
Commit 1760bfa7d7ca490cf8a61fe50ddeb1769cadd89e
Headers show
Series usb: linux/usb.h: fix Excess kernel-doc description warning | expand

Commit Message

Randy Dunlap Dec. 23, 2023, 5:06 a.m. UTC
Remove the @removable: line to prevent the kernel-doc warning:

include/linux/usb.h:732: warning: Excess struct member 'removable' description in 'usb_device'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
---
 include/linux/usb.h |    1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff -- a/include/linux/usb.h b/include/linux/usb.h
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -632,7 +632,6 @@  struct usb3_lpm_parameters {
  * @reset_resume: needs reset instead of resume
  * @port_is_suspended: the upstream port is suspended (L2 or U3)
  * @slot_id: Slot ID assigned by xHCI
- * @removable: Device can be physically removed from this port
  * @l1_params: best effor service latency for USB2 L1 LPM state, and L1 timeout.
  * @u1_params: exit latencies for USB3 U1 LPM state, and hub-initiated timeout.
  * @u2_params: exit latencies for USB3 U2 LPM state, and hub-initiated timeout.