diff options
| author | Denis Ciocca <[email protected]> | 2019-08-05 11:57:11 -0700 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-08-11 09:26:04 +0100 |
| commit | e031d5f558f1535968df1ecae8d734b84c17f78d (patch) | |
| tree | 663fb1b5ab579c6486d387e5dabe3ab747535e86 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 854da7511a05c9a05a4f28fb2225349380520b96 (diff) | |
iio:st_sensors: remove buffer allocation at each buffer enable
This patch is removing the buffer allocation at each buffer enable.
We just allocate enough memory in the main structure during probe
to cover maximum size needed (that anyway is pretty small) [16bytes].
Signed-off-by: Denis Ciocca <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions