• Tom Parkin's avatar
    l2tp: return void from l2tp_session_delete · 628703f5
    Tom Parkin authored
    l2tp_session_delete is used to schedule a session instance for deletion.
    The function itself always returns zero, and none of its direct callers
    check its return value, so have the function return void.
    
    This change de-facto changes the l2tp netlink session_delete callback
    prototype since all pseudowires currently use l2tp_session_delete for
    their implementation of that operation.
    Signed-off-by: default avatarTom Parkin <tparkin@katalix.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    628703f5
l2tp_core.c 47.3 KB