Re: [PATCH] USB and driver core changes for 2.5.41

Greg KH (greg@kroah.com)
Tue, 8 Oct 2002 16:21:06 -0700


# 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.573.92.19 -> 1.573.92.20
# drivers/usb/core/usb.c 1.92 -> 1.93
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/08 greg@kroah.com 1.573.92.20
# USB: removed unused DEVFS /sbin/hotplug attribute
# --------------------------------------------
#
diff -Nru a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
--- a/drivers/usb/core/usb.c Tue Oct 8 15:53:32 2002
+++ b/drivers/usb/core/usb.c Tue Oct 8 15:53:32 2002
@@ -558,14 +558,6 @@
*/
envp [i++] = scratch;
length += snprintf (scratch, buffer_size - length,
- "%s", "DEVFS=/proc/bus/usb");
- if ((buffer_size - length <= 0) || (i >= num_envp))
- return -ENOMEM;
- ++length;
- scratch += length;
-
- envp [i++] = scratch;
- length += snprintf (scratch, buffer_size - length,
"DEVICE=/proc/bus/usb/%03d/%03d",
usb_dev->bus->busnum, usb_dev->devnum);
if ((buffer_size - length <= 0) || (i >= num_envp))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/