annotations: fix _remove_entry() logic
authorAndrea Righi <andrea.righi@canonical.com>
Fri, 3 Feb 2023 10:55:55 +0000 (11:55 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Fri, 3 Feb 2023 10:55:55 +0000 (11:55 +0100)
commit08f585795b0e2e5cc410dd9366102a36c69d5f5f
tree07d78287e4a630c69e48014e46ea74f495c898d0
parenteb0dd317a9c5af80dfceed494a214ab550467183
annotations: fix _remove_entry() logic

Drop unnecessary delete statements and fix the code to properly remove
the entry in _remove_entry().

Reported-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
kconfig/annotations.py