OSDN Git Service

usb: musb: am35x: remove redundant code
authorBin Liu <b-liu@ti.com>
Thu, 2 Feb 2017 03:30:16 +0000 (21:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:05:10 +0000 (10:05 +0100)
commitbe0e5c602cc520f7d8474192567a092643aec74a
tree4c1c0b28c1655cf9a20ae37d8baa1e6b53e116f5
parent41c4eb450fd3e1e17f51f77e58902e91e87b6e01
usb: musb: am35x: remove redundant code

The session is cleared in the core whenever musb_platform_disable() is
called, so clearing it in the glue driver *_musb_disable() is redundant.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/am35x.c