mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
fs/ntfs3: Remove redundant initialization of variable err
The variable err is being initialized with a value that is never read, it
is being updated later on. The assignment is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
15b2ae7760
commit
0327c6d01a
|
|
@ -1401,7 +1401,7 @@ int indx_find_raw(struct ntfs_index *indx, struct ntfs_inode *ni,
|
|||
static int indx_create_allocate(struct ntfs_index *indx, struct ntfs_inode *ni,
|
||||
CLST *vbn)
|
||||
{
|
||||
int err = -ENOMEM;
|
||||
int err;
|
||||
struct ntfs_sb_info *sbi = ni->mi.sbi;
|
||||
struct ATTRIB *bitmap;
|
||||
struct ATTRIB *alloc;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user