aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAmmar Faizi <[email protected]>2022-04-18 01:56:30 +0700
committerSteven Rostedt (Google) <[email protected]>2022-04-26 17:58:52 -0400
commit69686fcbdcc0b6fed3b8d0907e641f282df2f827 (patch)
tree970068a1d785db46a00092af0da75886af09c0ae /lib/mpi/mpi-add.c
parent97a5d2e5e35f119b6d7a37c7538773ae7af82dd5 (diff)
tracing: Change `if (strlen(glob))` to `if (glob[0])`
No need to traverse to the end of string. If the first byte is not a NUL char, it's guaranteed `if (strlen(glob))` is true. Link: https://lkml.kernel.org/r/[email protected] Cc: Ingo Molnar <[email protected]> Cc: GNU/Weeb Mailing List <[email protected]> Signed-off-by: Ammar Faizi <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions