mirror of https://gitee.com/openkylin/linux.git
s390/zcrypt: remove the exporting of ap_query_configuration
The function ap_query_configuration is declared static and marked EXPORT_SYMBOL, which is at best an odd combination. Because the function is not used outside of the drivers/s390/crypto/ap_bus.c file it is defined in, this commit removes the EXPORT_SYMBOL() marking. Link: http://lkml.kernel.org/r/20190709122507.11158-1-efremov@linux.com Fixes:f1b0a4343c
("s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.") Fixes:050349b5b7
("s390/zcrypt: externalize AP config info query") Signed-off-by: Denis Efremov <efremov@linux.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
8e4708b3f8
commit
73df167c81
|
@ -208,7 +208,6 @@ static inline int ap_query_configuration(struct ap_config_info *info)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
return ap_qci(info);
|
return ap_qci(info);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ap_query_configuration);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ap_init_configuration(): Allocate and query configuration array.
|
* ap_init_configuration(): Allocate and query configuration array.
|
||||||
|
|
Loading…
Reference in New Issue