]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86/events/amd/iommu: Remove redundant assignment to variable shift
authorColin Ian King <colin.i.king@gmail.com>
Tue, 7 Dec 2021 18:50:01 +0000 (18:50 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 28 Dec 2021 20:30:05 +0000 (21:30 +0100)
commit0be4838f018c10d7f138a213c006d345db35ef5b
tree1fc0c25a40703ed4784df74e551c29efdf8a5ebb
parentbc7aaf52f963674690510e6c1f3710cd0394b25e
x86/events/amd/iommu: Remove redundant assignment to variable shift

Variable shift is being initialized with a value that is never read, it
is being re-assigned later inside a loop. The assignment is redundant
and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211207185001.1412413-1-colin.i.king@gmail.com
arch/x86/events/amd/iommu.c