summaryrefslogtreecommitdiffstats
path: root/fs/qnx4/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/qnx4/bitmap.c')
-rw-r--r--fs/qnx4/bitmap.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/fs/qnx4/bitmap.c b/fs/qnx4/bitmap.c
index b185960db..03e89e64d 100644
--- a/fs/qnx4/bitmap.c
+++ b/fs/qnx4/bitmap.c
@@ -153,25 +153,6 @@ static void qnx4_clear_inode(struct inode *inode)
void qnx4_free_inode(struct inode *inode)
{
- if (!inode) {
- return;
- }
- if (!inode->i_dev) {
- printk("free_inode: inode has no device\n");
- return;
- }
- if (inode->i_count > 1) {
- printk("free_inode: inode has count=%d\n", inode->i_count);
- return;
- }
- if (inode->i_nlink) {
- printk("free_inode: inode has nlink=%d\n", inode->i_nlink);
- return;
- }
- if (!inode->i_sb) {
- printk("free_inode: inode on nonexistent device\n");
- return;
- }
if (inode->i_ino < 1) {
printk("free_inode: inode 0 or nonexistent inode\n");
return;