From: Lendacky, Thomas Date: Thu, 14 May 2015 16:44:33 +0000 (-0500) Subject: amd-xgbe: Remove manual check and set of dma_mask pointer X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~279^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7aabf0072fb9540f275f07afaf0724fbf6a176;p=pandora-kernel.git amd-xgbe: Remove manual check and set of dma_mask pointer The underlying device support will set the device dma_mask pointer if DMA is set up properly for the device. Remove the check for and assignment of dma_mask when it is null. Instead, just error out if the dma_set_mask_and_coherent function fails because dma_mask is null. Signed-off-by: Tom Lendacky Signed-off-by: David S. Miller --- Reading git-diff-tree failed