[PATCH 16/22] usb/gadget.rst: remove unused kernel-doc tags

Mauro Carvalho Chehab mchehab at s-opensource.com
Wed Mar 29 11:54:15 PDT 2017


The DocBook file used to have "!E" include tags for usb gadget functions.
However, there's nothing there to be documented:

	./drivers/usb/gadget/function/f_acm.c:1: warning: no structured comments found
	./drivers/usb/gadget/function/f_ecm.c:1: warning: no structured comments found
	./drivers/usb/gadget/function/f_subset.c:1: warning: no structured comments found
	./drivers/usb/gadget/function/f_obex.c:1: warning: no structured comments found
	./drivers/usb/gadget/function/f_serial.c:1: warning: no structured comments found

So, let's remove it. If someone wants do document the function
there, they may just revert this patch in the future.

Signed-off-by: Mauro Carvalho Chehab <mchehab at s-opensource.com>
---
 Documentation/driver-api/usb/gadget.rst | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/Documentation/driver-api/usb/gadget.rst b/Documentation/driver-api/usb/gadget.rst
index c4c76ebb51d3..0488b89de21c 100644
--- a/Documentation/driver-api/usb/gadget.rst
+++ b/Documentation/driver-api/usb/gadget.rst
@@ -356,21 +356,6 @@ At this writing, a few of the current gadget drivers have been converted
 to this framework. Near-term plans include converting all of them,
 except for "gadgetfs".
 
-.. kernel-doc:: drivers/usb/gadget/function/f_acm.c
-   :export:
-
-.. kernel-doc:: drivers/usb/gadget/function/f_ecm.c
-   :export:
-
-.. kernel-doc:: drivers/usb/gadget/function/f_subset.c
-   :export:
-
-.. kernel-doc:: drivers/usb/gadget/function/f_obex.c
-   :export:
-
-.. kernel-doc:: drivers/usb/gadget/function/f_serial.c
-   :export:
-
 Peripheral Controller Drivers
 =============================
 
-- 
2.9.3




More information about the linux-rpi-kernel mailing list