mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina: "The usual stuff from trivial tree" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits) treewide: relase -> release Documentation/cgroups/memory.txt: fix stat file documentation sysctl/net.txt: delete reference to obsolete 2.4.x kernel spinlock_api_smp.h: fix preprocessor comments treewide: Fix typo in printk doc: device tree: clarify stuff in usage-model.txt. open firmware: "/aliasas" -> "/aliases" md: bcache: Fixed a typo with the word 'arithmetic' irq/generic-chip: fix a few kernel-doc entries frv: Convert use of typedef ctl_table to struct ctl_table sgi: xpc: Convert use of typedef ctl_table to struct ctl_table doc: clk: Fix incorrect wording Documentation/arm/IXP4xx fix a typo Documentation/networking/ieee802154 fix a typo Documentation/DocBook/media/v4l fix a typo Documentation/video4linux/si476x.txt fix a typo Documentation/virtual/kvm/api.txt fix a typo Documentation/early-userspace/README fix a typo Documentation/video4linux/soc-camera.txt fix a typo lguest: fix CONFIG_PAE -> CONFIG_x86_PAE in comment ...
This commit is contained in:
commit
80cc38b163
96 changed files with 142 additions and 151 deletions
|
@ -79,7 +79,6 @@ static int __meminit sparse_index_init(unsigned long section_nr, int nid)
|
|||
{
|
||||
unsigned long root = SECTION_NR_TO_ROOT(section_nr);
|
||||
struct mem_section *section;
|
||||
int ret = 0;
|
||||
|
||||
if (mem_section[root])
|
||||
return -EEXIST;
|
||||
|
@ -90,7 +89,7 @@ static int __meminit sparse_index_init(unsigned long section_nr, int nid)
|
|||
|
||||
mem_section[root] = section;
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
#else /* !SPARSEMEM_EXTREME */
|
||||
static inline int sparse_index_init(unsigned long section_nr, int nid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue