]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: don't call dma_supported
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Nov 2015 22:45:42 +0000 (14:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Nov 2015 00:32:11 +0000 (16:32 -0800)
commit28f3a6a94a181b32c2e014ec7d5c73b347fe9403
treeb5a4ad721f8faa58d24429bd2496975c6f7518a4
parenta2249e9281dfb7562d93b403d9c5c1a3c57bee22
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ethernet/sfc/efx.c