diff options
| author | Chris Rorvick <[email protected]> | 2015-01-12 12:42:58 -0800 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-01-12 22:24:10 +0100 |
| commit | 01f6b2bc6a40efa2d29b213e636b9208a8126318 (patch) | |
| tree | 552b066d006c5b30bc2fd4c260b3969a581a51ae /tools/perf/scripts/python | |
| parent | 1cad3e8dcac92ee07c576e93d1b54c8308e2fa80 (diff) | |
staging: line6: Call *_process_message() via pointer
Which *_process_message() function (if any) to call when data is
received is known at initialization. Add a function pointer to the
`usb_line6' struct and use to call into the appropriate logic instead
of evaluating the conditional logic for each message.
Signed-off-by: Chris Rorvick <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions