diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2016-01-05 14:43:42 +0100 |
|---|---|---|
| committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 15:14:34 +0200 |
| commit | bf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce (patch) | |
| tree | 08b6f664d33b203806bb6bc9627a75782c79ed4a /tools/perf/scripts/python | |
| parent | usb: gadget: f_midi: fix in_last_port looping logic (diff) | |
| download | linux-bf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce.tar.gz linux-bf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce.zip | |
usb: gadget: f_midi: use flexible array member for gmidi_in_port elements
Reduce number of allocations, simplify memory management and reduce
memory usage by stacking the gmidi_in_port elements at the end of the
f_midi structure using a flexible array.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
