On Thu, 17 May 2012, Sarah Sharp wrote: > > On an unrelated note, hub.c is already by far the largest source file > > in drivers/usb/core -- and you're adding another thousand lines or so. > > Maybe it's time to consider splitting it into two or more files. > > I can look at splitting out the link PM code into a separate file, sure. > But I have no idea how best to split up the rest of the hub.c code, and > no real desire to do so as part of this particular patchset. I didn't mean that it should be done right now, and certainly not as part of this patch set. But it should get done in the not-too-distant future. Besides, splitting out the link PM stuff is not the right approach. It would be very lopsided. What I had in mind was something more like putting all the code for managing the hub itself in one file, and all the code for managing the downstream connections in another file. Even that might not be ideal, but at least it's a reasonable start. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html