s390/zcrypt: Removed unneeded debug feature directory creation.
The ap bus code and the zcrypt api had invocations to the debug feature debugfs_create_dir() call but never populated these directories in any way. Removed this unneeded code. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
1228f7befb
commit
260021e21b
|
@ -86,7 +86,6 @@ static bool initialised;
|
||||||
/*
|
/*
|
||||||
* AP bus related debug feature things.
|
* AP bus related debug feature things.
|
||||||
*/
|
*/
|
||||||
static struct dentry *ap_dbf_root;
|
|
||||||
debug_info_t *ap_dbf_info;
|
debug_info_t *ap_dbf_info;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1148,7 +1147,6 @@ static struct reset_call ap_reset_call = {
|
||||||
|
|
||||||
int __init ap_debug_init(void)
|
int __init ap_debug_init(void)
|
||||||
{
|
{
|
||||||
ap_dbf_root = debugfs_create_dir("ap", NULL);
|
|
||||||
ap_dbf_info = debug_register("ap", 1, 1,
|
ap_dbf_info = debug_register("ap", 1, 1,
|
||||||
DBF_MAX_SPRINTF_ARGS * sizeof(long));
|
DBF_MAX_SPRINTF_ARGS * sizeof(long));
|
||||||
debug_register_view(ap_dbf_info, &debug_sprintf_view);
|
debug_register_view(ap_dbf_info, &debug_sprintf_view);
|
||||||
|
@ -1159,7 +1157,6 @@ int __init ap_debug_init(void)
|
||||||
|
|
||||||
void ap_debug_exit(void)
|
void ap_debug_exit(void)
|
||||||
{
|
{
|
||||||
debugfs_remove(ap_dbf_root);
|
|
||||||
debug_unregister(ap_dbf_info);
|
debug_unregister(ap_dbf_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,6 @@ EXPORT_SYMBOL(zcrypt_rescan_req);
|
||||||
static LIST_HEAD(zcrypt_ops_list);
|
static LIST_HEAD(zcrypt_ops_list);
|
||||||
|
|
||||||
/* Zcrypt related debug feature stuff. */
|
/* Zcrypt related debug feature stuff. */
|
||||||
static struct dentry *zcrypt_dbf_root;
|
|
||||||
debug_info_t *zcrypt_dbf_info;
|
debug_info_t *zcrypt_dbf_info;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1427,7 +1426,6 @@ void zcrypt_rng_device_remove(void)
|
||||||
|
|
||||||
int __init zcrypt_debug_init(void)
|
int __init zcrypt_debug_init(void)
|
||||||
{
|
{
|
||||||
zcrypt_dbf_root = debugfs_create_dir("zcrypt", NULL);
|
|
||||||
zcrypt_dbf_info = debug_register("zcrypt", 1, 1,
|
zcrypt_dbf_info = debug_register("zcrypt", 1, 1,
|
||||||
DBF_MAX_SPRINTF_ARGS * sizeof(long));
|
DBF_MAX_SPRINTF_ARGS * sizeof(long));
|
||||||
debug_register_view(zcrypt_dbf_info, &debug_sprintf_view);
|
debug_register_view(zcrypt_dbf_info, &debug_sprintf_view);
|
||||||
|
@ -1438,7 +1436,6 @@ int __init zcrypt_debug_init(void)
|
||||||
|
|
||||||
void zcrypt_debug_exit(void)
|
void zcrypt_debug_exit(void)
|
||||||
{
|
{
|
||||||
debugfs_remove(zcrypt_dbf_root);
|
|
||||||
debug_unregister(zcrypt_dbf_info);
|
debug_unregister(zcrypt_dbf_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue