From 33de57442f0ab7940ef894f8309fe349c1c2c684 Mon Sep 17 00:00:00 2001 From: Anatolii Nikulin Date: Thu, 30 Jun 2016 09:15:02 +0300 Subject: [PATCH] [CLEAN] noisy printk Change-Id: If4c4873bb70d3758e64d75e3ca1ec26e62546a6a Signed-off-by: Anatolii Nikulin --- us_manager/sspt/sspt_page.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/us_manager/sspt/sspt_page.c b/us_manager/sspt/sspt_page.c index 6eed534..bc6f1fb 100644 --- a/us_manager/sspt/sspt_page.c +++ b/us_manager/sspt/sspt_page.c @@ -156,15 +156,8 @@ int sspt_register_page(struct sspt_page *page, struct sspt_file *file) LIST_HEAD(not_inst_head); mutex_lock(&page->ip_list.mtx); - if (list_empty(&page->ip_list.not_inst)) { - struct task_struct *task = page->file->proc->leader; - - printk(KERN_INFO "page %lx in %s task[tgid=%u, pid=%u] " - "already installed\n", - page->offset, file->dentry->d_iname, - task->tgid, task->pid); + if (list_empty(&page->ip_list.not_inst)) goto unlock; - } list_for_each_entry_safe(ip, n, &page->ip_list.not_inst, list) { /* set virtual address */ -- 2.7.4