Skip to content

Commit

Permalink
Remove err_dma_mask label from ntb_hw_gen1.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
usaleem-ix committed Nov 18, 2024
1 parent 8466b95 commit 3c0e754
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ntb/hw/intel/ntb_hw_gen1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3c0e754

Please sign in to comment.