linux-stable/drivers/usb
Colin Ian King 15dfeb6dee usb: host: isp1362-hcd: remove a couple of redundant assignments
Variable index is being initialized and the value is never read,
it is being updated a few statements later, so remove the redundant
initialization.  Variable total is being updated but the value is
never read, so this is also redundant and can be removed. Cleans
up two clang warnings:

drivers/usb/host/isp1362-hcd.c:715:6: warning: Value stored to
'index' during its initialization is never read
drivers/usb/host/isp1362-hcd.c:2254:2: warning: Value stored to
'total' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-07 15:52:29 +01:00
..
atm USB: atm: Remove redundant license text 2017-11-04 11:55:38 +01:00
c67x00 USB: c67x00: Remove redundant license text 2017-11-07 15:45:02 +01:00
chipidea USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
class USB: class: Remove redundant license text 2017-11-04 11:55:38 +01:00
common USB: common: Remove redundant license text 2017-11-04 11:55:39 +01:00
core usb: core: add a 'type' parameter to usb_get_status() 2017-11-07 15:47:20 +01:00
dwc2 USB: dwc2: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3 USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
early USB: early: Remove redundant license text 2017-11-07 15:45:02 +01:00
gadget USB: gadget: Remove redundant license text 2017-11-07 15:45:02 +01:00
host usb: host: isp1362-hcd: remove a couple of redundant assignments 2017-11-07 15:52:29 +01:00
image USB: image: Remove redundant license text 2017-11-04 11:55:38 +01:00
isp1760 USB: isp1760: Remove redundant license text 2017-11-07 15:45:01 +01:00
misc USB: adutux: remove redundant variable minor 2017-11-07 15:52:29 +01:00
mon USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
mtu3 USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
musb USB: musb: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
renesas_usbhs USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
serial USB: serial: Change DbC debug device binding ID 2017-11-07 15:34:08 +01:00
storage USB: storage: Remove redundant license text 2017-11-04 11:55:38 +01:00
typec USB: typec: Remove redundant license text 2017-11-07 15:45:01 +01:00
usbip USB: usbip: Remove redundant license text 2017-11-07 15:45:01 +01:00
wusbcore USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
Kconfig usb: Kconfig: clarify use of USB_PCI 2017-11-01 17:16:43 +01:00
Makefile USB patches for 4.12-rc1 2017-05-04 18:03:51 -07:00
README
usb-skeleton.c USB: usb-skeleton: Remove redundant license text 2017-11-04 11:55:39 +01:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.