[OpenBIOS] [PATCH] remove useless printk
Laurent Vivier
laurent at lvivier.info
Sat Dec 20 21:09:11 CET 2008
This patch removes useless printk()
Signed-off-by: Laurent Vivier <Laurent at lvivier.info>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printk-cleanup.patch
Type: application/octet-stream
Size: 973 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20081220/b5e1b2b8/attachment-0001.dmg>
-------------- next part --------------
---
drivers/pci.c | 1 -
fs/grubfs/grubfs_fs.c | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
Index: openbios-devel/drivers/pci.c
===================================================================
--- openbios-devel.orig/drivers/pci.c 2008-12-20 20:51:41.000000000
+0100
+++ openbios-devel/drivers/pci.c 2008-12-20 20:51:56.000000000 +0100
@@ -1444,7 +1444,6 @@
}
pci_config_write32(addr, config_addr, reloc | omask);
config->regions[reg] = reloc;
-printk("region %08x size %08x\n", config->regions[reg], config-
>sizes[reg]);
}
}
Index: openbios-devel/fs/grubfs/grubfs_fs.c
===================================================================
--- openbios-devel.orig/fs/grubfs/grubfs_fs.c 2008-12-20
20:51:41.000000000 +0100
+++ openbios-devel/fs/grubfs/grubfs_fs.c 2008-12-20 20:51:56.000000000
+0100
@@ -267,7 +267,9 @@
return 0;
}
}
+#ifdef CONFIG_DEBUG_FS
printk("Unknown filesystem type\n");
+#endif
return -1;
}
More information about the OpenBIOS
mailing list