OSDN Git Service

Staging: rtl8723bs: remove useless structs in rtw_security.h
authorMarco Cesati <marcocesati@gmail.com>
Mon, 22 Mar 2021 13:37:09 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Mar 2021 16:05:45 +0000 (17:05 +0100)
Remove the following unreferenced struct in include/rtw_security.h:

struct sha256_state

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210322133717.17797-12-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_security.h

index 0d3f7d4..60b05a6 100644 (file)
@@ -193,12 +193,6 @@ struct security_priv {
 #endif /* DBG_SW_SEC_CNT */
 };
 
-struct sha256_state {
-       u64 length;
-       u32 state[8], curlen;
-       u8 buf[64];
-};
-
 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\
 do {\
        switch (psecuritypriv->dot11AuthAlgrthm)\