• Colin Ian King's avatar
    crypto: qat - Make several functions static · 9f32bb53
    Colin Ian King authored
    Functions qat_rsa_set_n, qat_rsa_set_e and qat_rsa_set_n are local to
    the source and do not need to be in global scope, so make them static.
    
    Cleans up sparse warnings:
    drivers/crypto/qat/qat_common/qat_asym_algs.c:972:5: warning: symbol
    'qat_rsa_set_n' was not declared. Should it be static?
    drivers/crypto/qat/qat_common/qat_asym_algs.c:1003:5: warning: symbol
    'qat_rsa_set_e' was not declared. Should it be static?
    drivers/crypto/qat/qat_common/qat_asym_algs.c:1027:5: warning: symbol
    'qat_rsa_set_d' was not declared. Should it be static?
    Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    9f32bb53
qat_asym_algs.c 34.4 KB