sfc: don't call dma_supported
authorChristoph Hellwig <[email protected]>
Tue, 10 Nov 2015 22:45:42 +0000 (14:45 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Nov 2015 00:32:11 +0000 (16:32 -0800)
commit8722b8fbceecfb63bdd74674fc5e49a8c511a1f6
treeb5a4ad721f8faa58d24429bd2496975c6f7518a4
parent0dcc4a59d5a9821ed6f6cf5e88c96ff4f25e55aa
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 <[email protected]>
Cc: Solarflare linux maintainers <[email protected]>
Cc: Shradha Shah <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/net/ethernet/sfc/efx.c