Removed lots of prints
This commit is contained in:
@ -44,18 +44,15 @@ void add_print_handler(PrintHandlerList *p_handler) {
|
||||
|
||||
void remove_print_handler(PrintHandlerList *p_handler) {
|
||||
|
||||
OS::get_singleton()->print("pre-removing print handler...\n");
|
||||
_global_lock();
|
||||
|
||||
PrintHandlerList *prev = NULL;
|
||||
PrintHandlerList *l = print_handler_list;
|
||||
|
||||
OS::get_singleton()->print("removing print handler...\n");
|
||||
while(l) {
|
||||
|
||||
if (l==p_handler) {
|
||||
|
||||
OS::get_singleton()->print("found\n");
|
||||
if (prev)
|
||||
prev->next=l->next;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user