Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ba6f867f114760d4e43f0f93abe280ee0a0d696e Commit: ba6f867f114760d4e43f0f93abe280ee0a0d696e Parent: 91f3f1e304f2e9ff2c8b9c76efd4fb8ff93110f7 Author: Qi Yong <[EMAIL PROTECTED]> AuthorDate: Wed Feb 6 01:37:23 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Wed Feb 6 10:41:06 2008 -0800
kill an unused PTR_ERR in bdev_cache_init() Signed-off-by: Qi Yong <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- fs/block_dev.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/block_dev.c b/fs/block_dev.c index e48a630..e63067d 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -534,7 +534,6 @@ void __init bdev_cache_init(void) if (err) panic("Cannot register bdev pseudo-fs"); bd_mnt = kern_mount(&bd_type); - err = PTR_ERR(bd_mnt); if (IS_ERR(bd_mnt)) panic("Cannot create bdev pseudo-fs"); blockdev_superblock = bd_mnt->mnt_sb; /* For writeback */ - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html