summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-09-05 11:57:17 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-09-06 14:20:56 +0300
commit6105d1fe6f4c24ce8c13e2e6568b16b76e04983d (patch)
tree506ebbadb6d079c551de60d12090131d80f1058b /drivers/uio
parent81a83d7f4cfcb255c040df09ce83249fabf8733a (diff)
downloadlinux-6105d1fe6f4c24ce8c13e2e6568b16b76e04983d.tar.xz
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 'drivers/uio')
0 files changed, 0 insertions, 0 deletions