]> git.baikalelectronics.ru Git - kernel.git/commit
USB: remove match_device
authorMing Lei <tom.leiming@gmail.com>
Mon, 17 May 2010 14:20:50 +0000 (22:20 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:47 +0000 (13:21 -0700)
commit6e63331d280537b5904311e6af62abb8ebc226d8
tree339346367d1558d61956c965c51d0733dbe10616
parent2180441d94797cbf563175949c38fc5d9fc587b7
USB: remove match_device

usb_find_device was the only one user of match_device, now
it is removed, so remove match_device to fix the compile warning
below reported by Stephen Rothwell:

drivers/usb/core/usb.c:596: warning: 'match_device'
defined but not used

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c