diff options
| author | Tom Zanussi <[email protected]> | 2018-12-18 14:33:23 -0600 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2018-12-22 08:21:04 -0500 |
| commit | de40f033d4e84e843d6a12266e3869015ea9097c (patch) | |
| tree | c5f87d360c14c882ca02a557b0ae86852bd48fe2 /drivers/usb/cdns3/cdns3-ep0.c | |
| parent | e4f6d245031e04bdd12db390298acec0474a1a46 (diff) | |
tracing: Remove open-coding of hist trigger var_ref management
Have create_var_ref() manage the hist trigger's var_ref list, rather
than having similar code doing it in multiple places. This cleans up
the code and makes sure var_refs are always accounted properly.
Also, document the var_ref-related functions to make what their
purpose clearer.
Link: http://lkml.kernel.org/r/05ddae93ff514e66fc03897d6665231892939913.1545161087.git.tom.zanussi@linux.intel.com
Acked-by: Namhyung Kim <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions