mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
mm/hugetlb.c: remove unnecessary initialization of local `err'
Link: https://lkml.kernel.org/r/20220905020918.3552-1-zeming@nfschina.com Signed-off-by: Li zeming <zeming@nfschina.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Cc: Muchun Song <songmuchun@bytedance.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
19672a9e4a
commit
8eeda55fe0
1 changed files with 1 additions and 1 deletions
|
@ -3718,7 +3718,7 @@ static ssize_t demote_store(struct kobject *kobj,
|
|||
unsigned long nr_available;
|
||||
nodemask_t nodes_allowed, *n_mask;
|
||||
struct hstate *h;
|
||||
int err = 0;
|
||||
int err;
|
||||
int nid;
|
||||
|
||||
err = kstrtoul(buf, 10, &nr_demote);
|
||||
|
|
Loading…
Add table
Reference in a new issue