summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2018-09-25 07:59:36 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-25 10:28:03 -0700
commita0456790fe57a23a30c6a7697f0833d33f10747a (patch)
tree22c7ec6853326cb8fa8d9f75ae901ec9ce3e6e50 /net
parentde20e12f3faf86581e82b2826d87fbc2feec2b50 (diff)
downloadlinux-a0456790fe57a23a30c6a7697f0833d33f10747a.tar.gz
linux-a0456790fe57a23a30c6a7697f0833d33f10747a.tar.bz2
linux-a0456790fe57a23a30c6a7697f0833d33f10747a.zip
r8169: improve a check in rtl_init_one
The check for pci_is_pcie() is redundant here because all chip versions >=18 are PCIe only anyway. In addition use dma_set_mask_and_coherent() instead of separate calls to pci_set_dma_mask() and pci_set_consistent_dma_mask(). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions