Skip to content

Commit

Permalink
mwifiex: drop 'set_consistent_dma_mask' log message
Browse files Browse the repository at this point in the history
This message is pointless.

While we're at it, include the error code in the error message, which is
not pointless.

Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
computersforpeace authored and Kalle Valo committed Jun 25, 2019
1 parent 6e41e22 commit f736917
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/marvell/mwifiex/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -2924,10 +2924,9 @@ static int mwifiex_init_pcie(struct mwifiex_adapter *adapter)

pci_set_master(pdev);

pr_notice("try set_consistent_dma_mask(32)\n");
ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
if (ret) {
pr_err("set_dma_mask(32) failed\n");
pr_err("set_dma_mask(32) failed: %d\n", ret);
goto err_set_dma_mask;
}

Expand Down

0 comments on commit f736917

Please sign in to comment.