diff options
| author | 2022-01-15 16:24:50 +0100 | |
|---|---|---|
| committer | 2022-01-24 09:14:02 +0100 | |
| commit | 0f203948230720e849ad50d158adac1cd32c282f (patch) | |
| tree | 7e5db7bbc7a81b5d13e13dccccf4138662663a24 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
| download | linux-dev-0f203948230720e849ad50d158adac1cd32c282f.tar.xz linux-dev-0f203948230720e849ad50d158adac1cd32c282f.zip | |
HID: amd_sfh: Remove useless DMA-32 fallback configuration
As stated in [1], dma_set_mask() with a 64-bit mask never fails if
dev->dma_mask is non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.
Simplify code and remove some dead code accordingly.
[1]: https://lore.kernel.org/linux-kernel/YL3vSPK5DXTNvgdx@infradead.org/#t
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
