diff options
author | Max Gurtovoy <mgurtovoy@nvidia.com> | 2021-09-05 11:57:17 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-09-06 07:20:56 -0400 |
commit | 6105d1fe6f4c24ce8c13e2e6568b16b76e04983d (patch) | |
tree | 506ebbadb6d079c551de60d12090131d80f1058b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 81a83d7f4cfcb255c040df09ce83249fabf8733a (diff) |
virtio-blk: remove unneeded "likely" statements
Usually we use "likely/unlikely" to optimize the fast path. Remove
redundant "likely/unlikely" statements in the control path to simplify
the code and make it easier to read.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20210905085717.7427-1-mgurtovoy@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Chaitanya Kulkarni <ckulkarnilinux@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions