diff options
| author | Lendacky, Thomas <[email protected]> | 2015-05-14 16:44:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-15 19:21:44 +0000 |
| commit | fc7aabf0072fb9540f275f07afaf0724fbf6a176 (patch) | |
| tree | f251c7b58cee7fbab2699f475e03ff7ac5eaabe8 /net/switchdev/switchdev.c | |
| parent | amd-xgbe: Fix flow control setting logic (diff) | |
| download | kernel-fc7aabf0072fb9540f275f07afaf0724fbf6a176.tar.gz kernel-fc7aabf0072fb9540f275f07afaf0724fbf6a176.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
