diff options
author | 2015-01-12 12:42:59 -0800 | |
---|---|---|
committer | 2015-01-12 22:24:11 +0100 | |
commit | a46c467251353109683d353826208a17aec9383e (patch) | |
tree | 45b2e813554ae184dfdbd0264a75b93764fc7e66 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: line6: Call *_process_message() via pointer (diff) | |
download | wireguard-linux-a46c467251353109683d353826208a17aec9383e.tar.xz wireguard-linux-a46c467251353109683d353826208a17aec9383e.zip |
staging: line6: Call *_disconnect() via pointer
Which *_disconnect() to call on disconnect 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.
Signed-off-by: Chris Rorvick <chris@rorvick.com>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions