USB: cdc-wdm: no need to fill the in request URB every time it's submitted
authorBjørn Mork <bjorn@mork.no>
Mon, 16 Jan 2012 14:11:58 +0000 (15:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 22:32:21 +0000 (14:32 -0800)
commit19b85b3b87fd1388df1f4a35969823521d35d243
treef206d2512557be7b3a86453a1bead66f417cdff2
parent0b238583ac8db66762bba021de1b7c60b6bc29ad
USB: cdc-wdm: no need to fill the in request URB every time it's submitted

Filling the same URB with the exact same data is pointless.  It can be filled
once and resubmitted.  And not doing buffer allocation and URB filling at the
same place only serves to hide size mismatch bugs

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-wdm.c
This page took 0.033576 seconds and 5 git commands to generate.