From 8455e29e55c627581205f550aa2dfa3fbf248271 Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Wed, 17 Jul 2024 18:57:04 +0500 Subject: [PATCH] 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 --- drivers/ntb/hw/intel/ntb_hw_gen1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ntb/hw/intel/ntb_hw_gen1.c b/drivers/ntb/hw/intel/ntb_hw_gen1.c index e9bf2feb6629..c11b20e40f30 100644 --- a/drivers/ntb/hw/intel/ntb_hw_gen1.c +++ b/drivers/ntb/hw/intel/ntb_hw_gen1.c @@ -1778,7 +1778,6 @@ static int intel_ntb_init_pci(struct intel_ntb_dev *ndev, struct pci_dev *pdev) return 0; err_mmio: -err_dma_mask: pci_release_regions(pdev); err_pci_regions: pci_disable_device(pdev);