projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19672a9
)
mm/hugetlb.c: remove unnecessary initialization of local `err'
author
Li zeming
<zeming@nfschina.com>
Mon, 5 Sep 2022 02:09:18 +0000
(10:09 +0800)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:55 +0000
(14:02 -0700)
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>
mm/hugetlb.c
patch
|
blob
|
history
diff --git
a/mm/hugetlb.c
b/mm/hugetlb.c
index
2ca4e8c
..
008955d
100644
(file)
--- a/
mm/hugetlb.c
+++ b/
mm/hugetlb.c
@@
-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);