mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xsm: flask: ss: remove unused function determine_oocontext
This function is not used neither exported. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
This commit is contained in:
1 parent
62b57be3cb
commit
0cae8fc40d
1 file changed
-14
@@ -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 )
|
||||
{
|
||||
|
||||