macsec_qca: Mark macsec_qca_set_transmit_next_pn() static

This function is not used outside this C file. Mark it static to avoid a
warning from sparse.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2018-11-30 17:31:30 +02:00 committed by Jouni Malinen
parent fcb3f11e4d
commit ff7f339cff

View file

@ -383,7 +383,7 @@ static int macsec_qca_get_transmit_next_pn(void *priv, struct transmit_sa *sa)
}
int macsec_qca_set_transmit_next_pn(void *priv, struct transmit_sa *sa)
static int macsec_qca_set_transmit_next_pn(void *priv, struct transmit_sa *sa)
{
struct macsec_qca_data *drv = priv;
int ret = 0;