Skip to content

Commit

Permalink
vdpa/virtio: Remove redundant log
Browse files Browse the repository at this point in the history
Notify date should pring once, not necessary for
every vq

Signed-off-by: Kailiang <kailiangz@nvidia.com>
  • Loading branch information
kailiangz1 committed Jun 19, 2024
1 parent 8d56e2f commit 72e1cab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/vdpa/virtio/virtio_vdpa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1755,8 +1755,10 @@ virtio_vdpa_notify_area_get(int vid, int qid, uint64_t *offset, uint64_t *size)
return ret;
}

DRV_LOG(DEBUG, "Vid %d qid:%d offset:0x%"PRIx64"size:0x%"PRIx64,
vid, qid, *offset, *size);
if ((!qid)|| (!*offset))
DRV_LOG(DEBUG, "Vid %d qid:%d offset:0x%"PRIx64"size:0x%"PRIx64,
vid, qid, *offset, *size);

return 0;
}
static int
Expand Down

0 comments on commit 72e1cab

Please sign in to comment.