File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -765,7 +765,7 @@ static int virtblk_probe(struct virtio_device *vdev)
765
765
goto out_free_vblk ;
766
766
767
767
/* Default queue sizing is to fill the ring. */
768
- if (likely ( !virtblk_queue_depth ) ) {
768
+ if (!virtblk_queue_depth ) {
769
769
queue_depth = vblk -> vqs [0 ].vq -> num_free ;
770
770
/* ... but without indirect descs, we use 2 descs per req */
771
771
if (!virtio_has_feature (vdev , VIRTIO_RING_F_INDIRECT_DESC ))
@@ -839,7 +839,7 @@ static int virtblk_probe(struct virtio_device *vdev)
839
839
else
840
840
blk_size = queue_logical_block_size (q );
841
841
842
- if (unlikely ( blk_size < SECTOR_SIZE || blk_size > PAGE_SIZE ) ) {
842
+ if (blk_size < SECTOR_SIZE || blk_size > PAGE_SIZE ) {
843
843
dev_err (& vdev -> dev ,
844
844
"block size is changed unexpectedly, now is %u\n" ,
845
845
blk_size );
You can’t perform that action at this time.
0 commit comments