summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@verizon.net>2002-12-20 05:57:27 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-20 05:57:27 -0800
commit028d2f3ecffa6ddc3936284fdc64a2c42c236cf6 (patch)
tree1c9222177c8121ff3e2f065f1b6e8baadf838451 /include/linux
parentef087040b97216d20c84b8bfe400a4598dd9404c (diff)
[PATCH] Patch for affs: pr_debug() usage
pr_debug() is defined to print using KERN_DEBUG already, so uses of it don't need to repeat KERN_DEBUG.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/amigaffs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/amigaffs.h b/include/linux/amigaffs.h
index 4c8df68e48e2..bde160f417fd 100644
--- a/include/linux/amigaffs.h
+++ b/include/linux/amigaffs.h
@@ -28,7 +28,7 @@ affs_set_blocksize(struct super_block *sb, int size)
static inline struct buffer_head *
affs_bread(struct super_block *sb, int block)
{
- pr_debug(KERN_DEBUG "affs_bread: %d\n", block);
+ pr_debug("affs_bread: %d\n", block);
if (block >= AFFS_SB(sb)->s_reserved && block < AFFS_SB(sb)->s_partition_size)
return sb_bread(sb, block);
return NULL;
@@ -36,7 +36,7 @@ affs_bread(struct super_block *sb, int block)
static inline struct buffer_head *
affs_getblk(struct super_block *sb, int block)
{
- pr_debug(KERN_DEBUG "affs_getblk: %d\n", block);
+ pr_debug("affs_getblk: %d\n", block);
if (block >= AFFS_SB(sb)->s_reserved && block < AFFS_SB(sb)->s_partition_size)
return sb_getblk(sb, block);
return NULL;
@@ -45,7 +45,7 @@ static inline struct buffer_head *
affs_getzeroblk(struct super_block *sb, int block)
{
struct buffer_head *bh;
- pr_debug(KERN_DEBUG "affs_getzeroblk: %d\n", block);
+ pr_debug("affs_getzeroblk: %d\n", block);
if (block >= AFFS_SB(sb)->s_reserved && block < AFFS_SB(sb)->s_partition_size) {
bh = sb_getblk(sb, block);
lock_buffer(bh);
@@ -60,7 +60,7 @@ static inline struct buffer_head *
affs_getemptyblk(struct super_block *sb, int block)
{
struct buffer_head *bh;
- pr_debug(KERN_DEBUG "affs_getemptyblk: %d\n", block);
+ pr_debug("affs_getemptyblk: %d\n", block);
if (block >= AFFS_SB(sb)->s_reserved && block < AFFS_SB(sb)->s_partition_size) {
bh = sb_getblk(sb, block);
wait_on_buffer(bh);
@@ -73,7 +73,7 @@ static inline void
affs_brelse(struct buffer_head *bh)
{
if (bh)
- pr_debug(KERN_DEBUG "affs_brelse: %ld\n", bh->b_blocknr);
+ pr_debug("affs_brelse: %ld\n", bh->b_blocknr);
brelse(bh);
}