staging: usbip: stub_main.c: code cleanup
authormatt mooney <mfm@muteddisk.com>
Fri, 20 May 2011 04:36:58 +0000 (21:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:51:23 +0000 (13:51 -0700)
commit41e02f011648b9b338d3dc1121eb3da9cfbf312c
tree3c4e9be79f0ade7b45baae14b61944d5631a7623
parentefad25e9a34d25c1c2469aa81ae1418ca1f26942
staging: usbip: stub_main.c: code cleanup

Remove match_find() and replace with get_busid_idx(); change
get_busid_priv(), add_match_busid(), and del_match_busid() to use
get_busid_idx(); and cleanup code in the other functions.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/stub_main.c