Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 12:04:56 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r341924 - stable/11/sys/dev/mlx5/mlx5_core
Message-ID:  <201812121204.wBCC4uWg069227@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812121204.wBCC4uWg069227>