aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-09-06 14:20:47 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-09-30 11:29:02 -0700
commit1beeca2bbafed1681518785530d3dfb9b2c56f42 (patch)
treefbdf3c2053c7e21a6eb9bcba0bb209efdf81f418 /host/examples
parenta0d77720dbce873baa5816f15348639ed02ea8ae (diff)
downloaduhd-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