aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-02-03 10:42:00 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-02-05 15:29:55 +0100
commit879a37632b403eb8c0fe00e14f907759100c8071 (patch)
tree7bc4554e4c666d73f83d784a101ec7d094ca4af8 /drivers/usb/cdns3/cdns3-imx.c
parentKVM: MIPS: Fix a build error due to referencing not-yet-defined function (diff)
downloadwireguard-linux-879a37632b403eb8c0fe00e14f907759100c8071.tar.xz
wireguard-linux-879a37632b403eb8c0fe00e14f907759100c8071.zip
KVM: MIPS: Fold comparecount_func() into comparecount_wakeup()
Fold kvm_mips_comparecount_func() into kvm_mips_comparecount_wakeup() to eliminate the nondescript function name as well as its unnecessary cast of a vcpu to "unsigned long" and back to a vcpu. Presumably func() was used as a callback at some point during pre-upstream development, as wakeup() is the only user of func() and has been the only user since both with introduced by commit 669e846e6c4e ("KVM/MIPS32: MIPS arch specific APIs for KVM"). Cc: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions