summaryrefslogtreecommitdiffstats
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2012-01-16 15:11:58 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 14:32:21 -0800
commit19b85b3b87fd1388df1f4a35969823521d35d243 (patch)
treef206d2512557be7b3a86453a1bead66f417cdff2 /lib/dec_and_lock.c
parent0b238583ac8db66762bba021de1b7c60b6bc29ad (diff)
downloadop-kernel-dev-19b85b3b87fd1388df1f4a35969823521d35d243.zip
op-kernel-dev-19b85b3b87fd1388df1f4a35969823521d35d243.tar.gz
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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud