summaryrefslogtreecommitdiffstats
path: root/crypto/af_alg.c
diff options
context:
space:
mode:
authorYisheng Xie2018-05-17 10:36:03 +0200
committerSteven Rostedt (VMware)2018-06-05 22:19:39 +0200
commit591a033dc17ff6f684b6b6d1d7426e22d178194f (patch)
treeb750268257835c9736e46837e6fb526c378a6cb7 /crypto/af_alg.c
parentbranch-check: fix long->int truncation when profiling branches (diff)
downloadkernel-qcow2-linux-591a033dc17ff6f684b6b6d1d7426e22d178194f.tar.gz
kernel-qcow2-linux-591a033dc17ff6f684b6b6d1d7426e22d178194f.tar.xz
kernel-qcow2-linux-591a033dc17ff6f684b6b6d1d7426e22d178194f.zip
tracing: Use match_string() instead of open coding it in trace_set_options()
match_string() returns the index of an array for a matching string, which can be used to simplify the code. Link: http://lkml.kernel.org/r/1526546163-4609-1-git-send-email-xieyisheng1@huawei.com Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions