USB: core: config.c: usb_get_configuration() simplified
authorMichal Nazarewicz <mina86@mina86.com>
Sat, 17 Apr 2010 15:12:58 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:39 +0000 (13:21 -0700)
commite8f4af304e3d16e7e512865bd53f3db811d9bbc8
tree60dd9c054a0a10470a19dfde58a09e72355188e3
parent65e0b499105ec8ff3bc4ab7680873dec20127f9d
USB: core: config.c: usb_get_configuration() simplified

usb_gat_configuratio() used two pointers to point to the same
memory.  Code simplified, by removing one of them.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c