diff options
author | Jesper Juhl <juhl-lkml@dif.dk> | 2005-04-04 14:59:56 +0100 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-05-05 11:42:27 +0100 |
commit | 251c8427c9c418674fc3c04a11de95dc3661b560 (patch) | |
tree | b67bab32762a4a64083de64281b1249bccfd9402 /fs/ntfs/super.c | |
parent | 53d59aad9326199ef5749c97513db498309a057e (diff) |
NTFS: Remove checks for NULL before calling kfree() since kfree() does the
checking itself. (Jesper Juhl)
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/super.c')
-rw-r--r-- | fs/ntfs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 78416eb2a168..25fa1d1668da 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c @@ -1193,8 +1193,7 @@ static BOOL load_and_init_quota(ntfs_volume *vol) return FALSE; } /* We do not care for the type of match that was found. */ - if (name) - kfree(name); + kfree(name); /* Get the inode. */ tmp_ino = ntfs_iget(vol->sb, MREF(mref)); if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) { |