From 571bb7abac4ed02cf7d5094b4a04a8bdca3783ed Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Sat, 30 Mar 2013 02:46:43 +0200 Subject: Revert "USB: chipidea: add vbus detect for udc" There are several problems with this patch: + in introduces a sparse warning for a condition that's always negative, + and because of that, it actually doesn't do anything useful, + and vbus detection belongs to otg, not device function anyway. This reverts commit 8c4fc031954b4eb72daf13d3c907a985a3eee208. Signed-off-by: Peter Chen [Alex: amended the above text] Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- drivers/usb/chipidea/ci.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/usb/chipidea/ci.h') diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index e25d1263da13..d738603a2757 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h @@ -139,7 +139,6 @@ struct ci13xxx { enum ci_role role; bool is_otg; struct work_struct work; - struct work_struct vbus_work; struct workqueue_struct *wq; struct dma_pool *qh_pool; -- cgit v1.2.3