commit | be49313273211c47d1b317d6b2dbe02637c2794c | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Mon Oct 05 20:21:14 2020 -0400 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Oct 08 15:29:06 2020 -0400 |
tree | 0387632d4bf0911a626e423e6c2abcc445069a55 | |
parent | 59e65b3358f44d4d0134eca3b6c269f359f21cd5 [diff] |
ftrace: Simplify the hash calculation No need to add a check to subtract the number of bits if bits is zero after fls(). Just divide the size by two before calling it. This does give the same answer for size of 0 and 1, but that's fine. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>