diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2015-05-26 21:06:24 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-27 12:51:54 +0300 |
commit | d921620e03c58bd83c4b345e36a104988d697f0d (patch) | |
tree | aa59f7f680ef3cfbf1b4afd9e8d1ef60b22081e7 /crypto/algif_aead.c | |
parent | bb5530e4082446aac3a3d69780cd4dbfa4520013 (diff) | |
download | linux-d921620e03c58bd83c4b345e36a104988d697f0d.tar.xz |
crypto: ccp - 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 <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions