]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit648cb529200aedcf79902b6c898c1bf4ede65690
tree60dd9c054a0a10470a19dfde58a09e72355188e3
parent7eb651ec0696abe0b812ba1e773aea0e34fbfb03
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