[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xsm: flask: ss: remove unused function determine_oocontext
commit 0cae8fc40dc7550ff2c6e95b5271c4243e7714b2 Author: Julien Grall <julien.grall@xxxxxxxxxx> AuthorDate: Wed Mar 26 15:32:49 2014 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed Mar 26 15:32:49 2014 +0100 xsm: flask: ss: remove unused function determine_oocontext This function is not used neither exported. Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> Acked-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> --- xen/xsm/flask/ss/services.c | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/xen/xsm/flask/ss/services.c b/xen/xsm/flask/ss/services.c index 59234ff..f0e459a 100644 --- a/xen/xsm/flask/ss/services.c +++ b/xen/xsm/flask/ss/services.c @@ -2035,20 +2035,6 @@ out: return rc; } -int determine_ocontext( char *ocontext ) -{ - if ( strcmp(ocontext, "pirq") == 0 ) - return OCON_PIRQ; - else if ( strcmp(ocontext, "ioport") == 0 ) - return OCON_IOPORT; - else if ( strcmp(ocontext, "iomem") == 0 ) - return OCON_IOMEM; - else if ( strcmp(ocontext, "pcidevice") == 0 ) - return OCON_DEVICE; - else - return -1; -} - int security_ocontext_add( u32 ocon, unsigned long low, unsigned long high ,u32 sid ) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |