summaryrefslogtreecommitdiffstats
path: root/net/smc
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-01-01 15:02:45 +0100
committerDavid S. Miller <davem@davemloft.net>2022-01-02 12:20:12 +0000
commitc5180ad0c2784924b3526ec2bd3ee9e0aa05724b (patch)
tree31ea6423de9c472695da8df0e9841c9807898478 /net/smc
parente44ef1d4de577aca369199b16da382d6e5aafaa3 (diff)
downloadlinux-c5180ad0c2784924b3526ec2bd3ee9e0aa05724b.tar.gz
linux-c5180ad0c2784924b3526ec2bd3ee9e0aa05724b.tar.bz2
linux-c5180ad0c2784924b3526ec2bd3ee9e0aa05724b.zip
enic: Use dma_set_mask_and_coherent()
Use dma_set_mask_and_coherent() instead of unrolling it with some dma_set_mask()+dma_set_coherent_mask(). This simplifies code and removes some dead code (dma_set_coherent_mask() can not fail after a successful dma_set_mask()) Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions