usb: remove redundant D0 power state set
authorYijing Wang <wangyijing@huawei.com>
Mon, 28 Apr 2014 11:35:09 +0000 (19:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:18:48 +0000 (15:18 -0700)
commitfebf2f63c1d8b4e622730f52202b9d0374a6c058
tree22fa7ec8b40697accc3acd7de6eeafaf7c673639
parentd5afce82e131eb5a171afeba0bc5fefbe2417ad9
usb: remove redundant D0 power state set

Pci_enable_device() will set device power state to D0,
so it's no need to do it again after call pci_enable_device().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd-pci.c