• Alex Elder's avatar
    net: ipa: kill gsi_trans_commit_wait_timeout() · d15180b4
    Alex Elder authored
    Since the beginning gsi_trans_commit_wait_timeout() has existed to
    provide a way to allow waiting a limited time for a transaction
    to complete.  But that function has never been used.
    
    In fact, there is no use for this function, because a transaction
    committed to hardware should *always* complete.  The only reason it
    might not complete is if there were a hardware failure, or perhaps a
    system configuration error.
    
    Furthermore, if a timeout ever did occur, the IPA hardware would be
    in an indeterminate state, from which there is no recovery.  It
    would require some sort of complete IPA reset, and would require the
    participation of the modem, and at this time there is no such
    sequence defined.
    
    So get rid of the definition of gsi_trans_commit_wait_timeout(), and
    update a few comments accordingly.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d15180b4
ipa_cmd.c 22.1 KB