]> xenbits.xensource.com Git - xen.git/commit
xen/vm-event: Drop unused u_domctl parameter from vm_event_domctl()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 31 May 2019 19:35:55 +0000 (12:35 -0700)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 Jun 2019 13:43:51 +0000 (14:43 +0100)
commit48b84249459fac2e96bde6337b0080662c5fe0ea
tree0ddb6b8789dd5621521838cc4588e8fab2cc1cd6
parent844aa0a13d34e9a341a8374119d2ed67d4dcd6bb
xen/vm-event: Drop unused u_domctl parameter from vm_event_domctl()

This parameter isn't used at all.  Futhermore, elide the copyback in
failing cases, as it is only successful paths which generate data which
needs sending back to the caller.

Finally, drop a redundant d == NULL check, as that logic is all common
at the begining of do_domctl().

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/domctl.c
xen/common/vm_event.c
xen/include/xen/vm_event.h