]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-linux/linux.git/commit
xhci: remove compile warning
authorWingMan Kwok <w-kwok2@ti.com>
Fri, 5 Dec 2014 15:45:58 +0000 (10:45 -0500)
committerWingMan Kwok <w-kwok2@ti.com>
Fri, 5 Dec 2014 15:53:25 +0000 (10:53 -0500)
commit5d1ff0fb98ada94fb393ec4b01ce87c0b2a7c991
treee4dfeae08c698aa1931e2e33084aabb49c07a175
parent02915e8d78ffb2551b5cd653576be349480b8661
xhci: remove compile warning

This patch removes the following compile warning
when CONFIG_USB_DEFAULT_PERSIST is defined.

drivers/usb/host/xhci.c: In function 'xhci_free_dev':
drivers/usb/host/xhci.c:3506:17: warning: unused variable 'dev' [-Wunused-variable]
drivers/usb/host/xhci.c: In function 'xhci_alloc_dev':
drivers/usb/host/xhci.c:3592:17: warning: unused variable 'dev' [-Wunused-variable]

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
drivers/usb/host/xhci.c