On Fri, Mar 22, 2002 at 03:59:32PM -0800, Greg KH wrote:
> [EMAIL PROTECTED], 2002-03-22 15:07:02-08:00, [EMAIL PROTECTED]
>   USB hub
>   
>   remove duplicate check.
>   Thanks to Itai Nahshon <[EMAIL PROTECTED]> for pointing this out.
> 
>  drivers/usb/hub.c |    4 ----
>  1 files changed, 4 deletions(-)


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.231   -> 1.232  
#          drivers/usb/hub.c    1.12    -> 1.13   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/03/22      [EMAIL PROTECTED]  1.232
# USB hub
# 
# remove duplicate check.
# Thanks to Itai Nahshon <[EMAIL PROTECTED]> for pointing this out.
# --------------------------------------------
#
diff -Nru a/drivers/usb/hub.c b/drivers/usb/hub.c
--- a/drivers/usb/hub.c Fri Mar 22 15:48:06 2002
+++ b/drivers/usb/hub.c Fri Mar 22 15:48:06 2002
@@ -550,10 +550,6 @@
                if (!(portstatus & USB_PORT_STAT_CONNECTION))
                        return 1;
 
-               /* Device went away? */
-               if (!(portstatus & USB_PORT_STAT_CONNECTION))
-                       return 1;
-
                /* bomb out completely if something weird happened */
                if ((portchange & USB_PORT_STAT_C_CONNECTION))
                        return -1;

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to