moveconfig: add a second pass for empty #if/#endif blocks
authorChris Packham <judge.packham@gmail.com>
Wed, 30 Jan 2019 07:23:16 +0000 (20:23 +1300)
committerTom Rini <trini@konsulko.com>
Sat, 9 Feb 2019 12:50:54 +0000 (07:50 -0500)
commit4d9dbb1fbb7c47ebb4390d6aaa35aa4254db06d4
tree0b0a234b072012a75f83fc889ed9a8dff90f363c
parent36fddec14b1447055d91b13a0ba3997e66ecec35
moveconfig: add a second pass for empty #if/#endif blocks

Moveconfig already attempts to remove empty #if/#endif blocks when there
is a matching CONFIG_ being moved. Add a second pass which covers files
without a match.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
tools/moveconfig.py