diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-09-06 14:20:47 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-09-30 11:29:02 -0700 |
commit | 1beeca2bbafed1681518785530d3dfb9b2c56f42 (patch) | |
tree | fbdf3c2053c7e21a6eb9bcba0bb209efdf81f418 /host/examples | |
parent | a0d77720dbce873baa5816f15348639ed02ea8ae (diff) | |
download | uhd-1beeca2bbafed1681518785530d3dfb9b2c56f42.tar.gz uhd-1beeca2bbafed1681518785530d3dfb9b2c56f42.tar.bz2 uhd-1beeca2bbafed1681518785530d3dfb9b2c56f42.zip |
libusb: Remove unused context variable
The USB managed buffer implementation created a context every time one
was generated.
The additional load is not very high, because the global session is a
singleton, and simply returns the same context again with only a few
branches. Also, managed buffers persist for the entire session.
However, the context is never used in the managed buffer.
This code is thus confusing for the reader of this code, and we remove
the extraneous, unused context variable.
Diffstat (limited to 'host/examples')
0 files changed, 0 insertions, 0 deletions