Bläddra i källkod

[PATCH] net/ieee80211/: make two functions static

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Adrian Bunk 20 år sedan
förälder
incheckning
e157249d94
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      net/ieee80211/ieee80211_crypt_ccmp.c
  2. 2 2
      net/ieee80211/ieee80211_tx.c

+ 2 - 2
net/ieee80211/ieee80211_crypt_ccmp.c

@@ -59,8 +59,8 @@ struct ieee80211_ccmp_data {
 	u8 rx_b0[AES_BLOCK_LEN], rx_b[AES_BLOCK_LEN], rx_a[AES_BLOCK_LEN];
 };
 
-void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm,
-			     const u8 pt[16], u8 ct[16])
+static void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm,
+				       const u8 pt[16], u8 ct[16])
 {
 	struct scatterlist src, dst;
 

+ 2 - 2
net/ieee80211/ieee80211_tx.c

@@ -212,8 +212,8 @@ void ieee80211_txb_free(struct ieee80211_txb *txb) {
 	kfree(txb);
 }
 
-struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
-					  int gfp_mask)
+static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
+						 int gfp_mask)
 {
 	struct ieee80211_txb *txb;
 	int i;