2f11cf2 KCM: Introduce kcm_input_get_payload_len()

1 file Authored by fidencio 6 years ago, Committed by jhrozek 6 years ago,
    KCM: Introduce kcm_input_get_payload_len()
    
    As this piece of code will be useful for us in the future patches of
    this series, let's move it to a new function.
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>