aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/lance.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-01-25 14:53:33 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:47 -0800
commitf10718f5b812a2c55e37396518d426f88d5e35fc (patch)
tree6b982a4adfefc8a220679e0bfdc347372e29031f /drivers/net/lance.c
parent5b520259ab6d661b8d5eb39dd17cc5e4e4553c62 (diff)
USB: io_edgeport: eliminate get_string()
Johan Hovold points out that get_string() is basically just a re-implimentation of usb_string(). It is also buggy. It does DMA on the stack and it doesn't handle negative returns from usb_get_descriptor(). Plus unicode_to_ascii() is a rubbish function and moving to usb_string() avoids using it. Let's eliminate get_string() entirely. Reported-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/lance.c')
0 files changed, 0 insertions, 0 deletions