mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
xen/mcelog: eliminate redundant setting of interface version
This already gets done in HYPERVISOR_mca(). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
This commit is contained in:
parent
2197082afd
commit
f76c318c77
1 changed files with 0 additions and 2 deletions
|
@ -288,7 +288,6 @@ static int mc_queue_handle(uint32_t flags)
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
mc_op.cmd = XEN_MC_fetch;
|
mc_op.cmd = XEN_MC_fetch;
|
||||||
mc_op.interface_version = XEN_MCA_INTERFACE_VERSION;
|
|
||||||
set_xen_guest_handle(mc_op.u.mc_fetch.data, &g_mi);
|
set_xen_guest_handle(mc_op.u.mc_fetch.data, &g_mi);
|
||||||
do {
|
do {
|
||||||
mc_op.u.mc_fetch.flags = flags;
|
mc_op.u.mc_fetch.flags = flags;
|
||||||
|
@ -358,7 +357,6 @@ static int bind_virq_for_mce(void)
|
||||||
|
|
||||||
/* Fetch physical CPU Numbers */
|
/* Fetch physical CPU Numbers */
|
||||||
mc_op.cmd = XEN_MC_physcpuinfo;
|
mc_op.cmd = XEN_MC_physcpuinfo;
|
||||||
mc_op.interface_version = XEN_MCA_INTERFACE_VERSION;
|
|
||||||
set_xen_guest_handle(mc_op.u.mc_physcpuinfo.info, g_physinfo);
|
set_xen_guest_handle(mc_op.u.mc_physcpuinfo.info, g_physinfo);
|
||||||
ret = HYPERVISOR_mca(&mc_op);
|
ret = HYPERVISOR_mca(&mc_op);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in a new issue