]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sfc: don't call dma_supported
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Oct 2015 22:13:24 +0000 (09:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 5 Nov 2015 05:11:49 +0000 (16:11 +1100)
commit337c10ca18917ce70a1beb1a5ee005f90190e148
tree578624f8808e81710eff8df924a5d148033da685
parenta4a5b95f89164c2cd8742f96f718ba4de0c93ff3
sfc: don't call dma_supported

dma_set_mask already checks for a supported DMA mask before updating it,
the call to dma_supported is redundant.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
Cc: Shradha Shah <sshah@solarflare.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/ethernet/sfc/efx.c