Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Li zeming and committed by
Andrew Morton
8eeda55f 19672a9e

+1 -1
+1 -1
mm/hugetlb.c
··· 3718 3718 unsigned long nr_available; 3719 3719 nodemask_t nodes_allowed, *n_mask; 3720 3720 struct hstate *h; 3721 - int err = 0; 3721 + int err; 3722 3722 int nid; 3723 3723 3724 3724 err = kstrtoul(buf, 10, &nr_demote);