x86/boot/e820: Remove a redundant self assignment
authorColin King <colin.king@canonical.com>
Thu, 13 Apr 2017 15:59:12 +0000 (16:59 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 09:43:21 +0000 (11:43 +0200)
commitace2fb5a8b65d6aba530068ea9331f18e10ef565
tree12cbba03c1fda099bf271bc4521cd620d7016878
parent84bbabc3a452e8085cfbd745ff0bff2b89074417
x86/boot/e820: Remove a redundant self assignment

Remove a redundant self assignment of table->nr_entries, it does
nothing and is an artifact of code simplification re-work.

Detected by CoverityScan, CID#1428450 ("Self assignment")

Fixes: 441ac2f33dd7 ("x86/boot/e820: Simplify e820__update_table()")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: kernel-janitors@vger.kernel.org
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Link: http://lkml.kernel.org/r/20170413155912.12078-1-colin.king@canonical.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/e820.c