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)
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>

No differences found