]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
swiotlb: Group identical cleanup in swiotlb_cleanup()
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 11 Jun 2019 17:58:24 +0000 (10:58 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 11 Jun 2019 18:36:33 +0000 (14:36 -0400)
commit0bfaffbf4cc6f380a83eabc679c0d6eb307cf6e4
tree33771589de9ed876c0dfa5b7375dda30b858bba3
parent4e7372e0dc5d7d2078fbdb13505635cd5b11f93d
swiotlb: Group identical cleanup in swiotlb_cleanup()

Avoid repeating the zeroing of global swiotlb variables in two locations
and introduce swiotlb_cleanup() to do that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
kernel/dma/swiotlb.c