diff options
author | 2022-01-15 16:24:50 +0100 | |
---|---|---|
committer | 2022-01-24 09:14:02 +0100 | |
commit | 0f203948230720e849ad50d158adac1cd32c282f (patch) | |
tree | 7e5db7bbc7a81b5d13e13dccccf4138662663a24 /scripts/generate_rust_analyzer.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-0f203948230720e849ad50d158adac1cd32c282f.tar.xz wireguard-linux-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions