There are two assignments are meaningless, and remove them.
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
                                                        struct page *dpage)
 {
        struct posix_acl *default_acl = NULL, *acl = NULL;
-       int error = 0;
+       int error;
 
        error = f2fs_acl_create(dir, &inode->i_mode, &default_acl, &acl, dpage);
        if (error)
 
 struct page *f2fs_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index)
 {
        struct address_space *mapping = META_MAPPING(sbi);
-       struct page *page = NULL;
+       struct page *page;
 repeat:
        page = f2fs_grab_cache_page(mapping, index, false);
        if (!page) {