• A
    tipc: Eliminate support for tipc_mode global variable · b58343f9
    Allan Stephens 提交于
    Removes all references to the global variable that records whether
    TIPC is running in "single node" mode or "network" mode, since this
    information can be easily deduced from the global variable that
    records TIPC's network address. (i.e. a non-zero network address
    means that TIPC is running in network mode.)
    
    The changes made update most existing mode-based checks to use the
    network address global variable. A few checks that are no longer
    needed are removed entirely, along with any associated code lying on
    non-executable control paths.
    Signed-off-by: NAllan Stephens <allan.stephens@windriver.com>
    Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
    b58343f9
core.c 5.0 KB