Skip to content

Commit 3690ad9

Browse files
author
Umer Saleem
committed
Remove err_dma_mask label from ntb_hw_gen1.c
Label err_dma_mask is not being used and generates a warning at build time. With CONFIG_WERROR enabled, this warning is treated as error and breaks the build. This commit removes this label for now. Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
1 parent 0bc51c6 commit 3690ad9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/ntb/hw/intel/ntb_hw_gen1.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,6 @@ static int intel_ntb_init_pci(struct intel_ntb_dev *ndev, struct pci_dev *pdev)
17781778
return 0;
17791779

17801780
err_mmio:
1781-
err_dma_mask:
17821781
pci_release_regions(pdev);
17831782
err_pci_regions:
17841783
pci_disable_device(pdev);

0 commit comments

Comments
 (0)