Skip to content

Commit

Permalink
Removing leaked debugging code ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpiekarski committed Apr 6, 2020
1 parent b3c1266 commit 87ba40e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lkm_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ void lkm_remove_proc_entry(struct proc_dir_entry *entry, const char *name,
struct proc_dir_entry *parent)
{
// todo: Check if name is stored in proc_dir_entry and use it instead of passing it.
printk(KERN_INFO "lkm_mem::DEBUG: Checking if %s is to be removed...",
name);
if (entry != NULL) {
printk(KERN_INFO "lkm_mem::DEBUG: Removing %s", name);
remove_proc_entry(name, parent);
}
}
Expand Down

0 comments on commit 87ba40e

Please sign in to comment.