• Ulf Magnusson's avatar
    kconfig: Remove menu_end_entry() · df60f4b9
    Ulf Magnusson authored
    menu_end_entry() is empty and completely unused as far as I can tell:
    
    	$ git log -G menu_end_entry --oneline
    	a02f0570 [PATCH] kconfig: improve error handling in the parser
    	1da177e4 Linux-2.6.12-rc2
    
    Last one is the initial Git commit, where menu_end_entry() is empty as
    well. I couldn't find anything that redefined it on Google either.
    
    It might be a debugging helper for setting a breakpoint after each
    config, menuconfig, and comment is parsed. IMO it hurts more than it
    helps in that case by making the parsing code look more complicated at a
    glance than it really is, and I suspect it doesn't get used much.
    
    Tested by running the Kconfiglib test suite, which indirectly verifies
    that the .config files generated by the C implementation for each
    defconfig file in the kernel stays the same.
    Signed-off-by: default avatarUlf Magnusson <ulfalizer@gmail.com>
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    df60f4b9
menu.c 20.1 KB