Skip to content

Commit 21b21fc

Browse files
Michael Holzheuheicarst
authored andcommitted
[S390] Cleanup s390 debug feature print messages.
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
1 parent 2ca5b6e commit 21b21fc

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎arch/s390/kernel/debug.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,6 @@ __init debug_init(void)
10791079
s390dbf_sysctl_header = register_sysctl_table(s390dbf_dir_table);
10801080
mutex_lock(&debug_mutex);
10811081
debug_debugfs_root_entry = debugfs_create_dir(DEBUG_DIR_ROOT,NULL);
1082-
printk(KERN_INFO "debug: Initialization complete\n");
10831082
initialized = 1;
10841083
mutex_unlock(&debug_mutex);
10851084

@@ -1193,7 +1192,6 @@ debug_get_uint(char *buf)
11931192
for(; isspace(*buf); buf++);
11941193
rc = simple_strtoul(buf, &buf, 10);
11951194
if(*buf){
1196-
printk("debug: no integer specified!\n");
11971195
rc = -EINVAL;
11981196
}
11991197
return rc;
@@ -1340,19 +1338,12 @@ static void debug_flush(debug_info_t* id, int area)
13401338
memset(id->areas[i][j], 0, PAGE_SIZE);
13411339
}
13421340
}
1343-
printk(KERN_INFO "debug: %s: all areas flushed\n",id->name);
13441341
} else if(area >= 0 && area < id->nr_areas) {
13451342
id->active_entries[area] = 0;
13461343
id->active_pages[area] = 0;
13471344
for(i = 0; i < id->pages_per_area; i++) {
13481345
memset(id->areas[area][i],0,PAGE_SIZE);
13491346
}
1350-
printk(KERN_INFO "debug: %s: area %i has been flushed\n",
1351-
id->name, area);
1352-
} else {
1353-
printk(KERN_INFO
1354-
"debug: %s: area %i cannot be flushed (range: %i - %i)\n",
1355-
id->name, area, 0, id->nr_areas-1);
13561347
}
13571348
spin_unlock_irqrestore(&id->lock,flags);
13581349
}

0 commit comments

Comments
 (0)