Skip to content

Commit 059bfd1

Browse files
Colin Ian Kingherbertx
authored andcommitted
crypto: inside-secure - make function safexcel_try_push_requests static
The function safexcel_try_push_requests is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'safexcel_try_push_requests' was not declared. Should it be static? Signed-off-by: Colin Ian King <[email protected]> [Antoine: fixed alignment] Signed-off-by: Antoine Tenart <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 6e36719 commit 059bfd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/inside-secure/safexcel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ static int safexcel_hw_init(struct safexcel_crypto_priv *priv)
432432
}
433433

434434
/* Called with ring's lock taken */
435-
int safexcel_try_push_requests(struct safexcel_crypto_priv *priv, int ring,
436-
int reqs)
435+
static int safexcel_try_push_requests(struct safexcel_crypto_priv *priv,
436+
int ring, int reqs)
437437
{
438438
int coal = min_t(int, reqs, EIP197_MAX_BATCH_SZ);
439439

0 commit comments

Comments
 (0)