• Thomas Haller's avatar
    ifcfg-rh: refactor parsing in parse_ethtool_option() to not call helper functions · bcbea6fe
    Thomas Haller authored
    Parsing can be complicated enough. It's simpler to just work
    top-to-bottom, without calling various helper functions. This was,
    you can see all the code in one place, without need to jump to
    the helper function to see what it is doing.
    In general, a static function that is only called once, does sometimes
    not simplify but obfuscate the code.
nms-ifcfg-rh-reader.c 173 KB