svn commit: r341924 - stable/11/sys/dev/mlx5/mlx5_core

Hans Petter Selasky hselasky at FreeBSD.org
Wed Dec 12 12:04:57 UTC 2018


Author: hselasky
Date: Wed Dec 12 12:04:56 2018
New Revision: 341924
URL: https://svnweb.freebsd.org/changeset/base/341924

Log:
  MFC r341555:
  mlx5: Discard unused return values.
  
  Sponsored by:   Mellanox Technologies

Modified:
  stable/11/sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c	Wed Dec 12 12:03:33 2018	(r341923)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c	Wed Dec 12 12:04:56 2018	(r341924)
@@ -128,7 +128,7 @@ mlx5_fwp_alloc(struct mlx5_core_dev *dev, gfp_t flags,
 
 		/* load memory into DMA */
 		MLX5_DMA_LOCK(dev);
-		err = bus_dmamap_load(
+		(void) bus_dmamap_load(
 		    dev->cmd.dma_tag, fwp[x].dma_map, fwp[x].virt_addr,
 		    MLX5_ADAPTER_PAGE_SIZE, &mlx5_fwp_load_mem_cb,
 		    fwp + x, BUS_DMA_WAITOK | BUS_DMA_COHERENT);


More information about the svn-src-all mailing list