]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: remove excess code from hub.c
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 May 2007 19:35:16 +0000 (15:35 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:29 +0000 (16:34 -0700)
commit624d6c0732d2c4ac00945ad79dbb6ff39ba90ee3
tree411f9288fcc640a1ae935144e950ad44765157ba
parent686314cfbdac21c9019c0e04487b5d940db62406
USB: remove excess code from hub.c

This patch (as917) removes a now-unnecessary level of subroutine
nesting from hub.c.  Since usb_port_suspend() does nothing but call
hub_port_suspend(), and usb_port_resume() does nothing but call
hub_port_resume(), there's no reason to keep the routines separate.

Also included in the patch are a few cosmetic changes involving
whitespace and use of braces.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c