|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] XSM/dummy: drop redundant return statements
commit 60a90fd5b6c6e8cfe76727b6c24fb7b11c4c1713
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Aug 17 09:22:53 2026 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Aug 17 09:22:53 2026 +0200
XSM/dummy: drop redundant return statements
They're meaningless when no value is returned.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
---
xen/include/xsm/dummy.h | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/xen/include/xsm/dummy.h b/xen/include/xsm/dummy.h
index f554a9e380..50bf962e72 100644
--- a/xen/include/xsm/dummy.h
+++ b/xen/include/xsm/dummy.h
@@ -123,9 +123,7 @@ static XSM_INLINE int xsm_set_system_active(void)
static XSM_INLINE void xsm_security_domaininfo(
struct domain *d, struct xen_domctl_getdomaininfo *info)
-{
- return;
-}
+{}
static XSM_INLINE int xsm_domain_create(
XSM_DEFAULT_ARG struct domain *d, uint32_t ssidref)
@@ -187,9 +185,7 @@ static XSM_INLINE int xsm_alloc_security_domain(struct
domain *d)
}
static XSM_INLINE void xsm_free_security_domain(struct domain *d)
-{
- return;
-}
+{}
#ifdef CONFIG_GRANT_TABLE
@@ -316,9 +312,7 @@ static XSM_INLINE int xsm_evtchn_interdomain(
}
static XSM_INLINE void xsm_evtchn_close_post(struct evtchn *chn)
-{
- return;
-}
+{}
static XSM_INLINE int xsm_evtchn_send(
XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn)
@@ -349,9 +343,7 @@ static XSM_INLINE int xsm_alloc_security_evtchns(
static XSM_INLINE void xsm_free_security_evtchns(
struct evtchn chn[], unsigned int nr)
-{
- return;
-}
+{}
static XSM_INLINE char *xsm_show_security_evtchn(
struct domain *d, const struct evtchn *chn)
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |