diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-04-14 16:23:43 +0100 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-05-20 09:13:58 +0000 |
commit | 677b0ce5d66c5445440f3cedd3c20ff1665c0f46 (patch) | |
tree | 240671376ef4ef4b3fb0fcbc6836e76c2fc83279 /arch/x86/kvm/hyperv.c | |
parent | 7769e18c201aa88eade5556faf9da7f2bc15bb8a (diff) |
drivers: hv: remove redundant assignment to pointer primary_channel
The pointer primary_channel is being assigned with a value that is never
used. The assignment is redundant and can be removed. Move the
definition of primary_channel to a narrower scope.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200414152343.243166-1-colin.king@canonical.com
[ wei: move primary_channel and update commit message ]
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
0 files changed, 0 insertions, 0 deletions