Re: git: 15dc713ceb57 - main - netmap: vtnet: add support for netmap offsets

Brandon Bergren bdragon at FreeBSD.org
Thu Apr 8 03:23:52 UTC 2021


On Wed, Apr 7, 2021, at 5:13 PM, Vincenzo Maffione wrote:
> Oh, I'm sorry. That's just to silence the compiler because of the 
> unused variable addr. We only need the paddr output value in that 
> context.

How about casting away the return value from the call directly then, instead of having addr in the first place?

-- 
  Brandon Bergren
  bdragon at FreeBSD.org


More information about the dev-commits-src-all mailing list