crypto: qat - remove unused structure members
authorTadeusz Struk <tadeusz.struk@intel.com>
Wed, 13 May 2015 21:45:30 +0000 (14:45 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 May 2015 06:57:44 +0000 (14:57 +0800)
Cleanup unused structure members.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_cfg_user.h

index 0c38a155a865a18320fd7f4e6bc08e1bb014179c..ef5988afd4c60f59287e8a446af62e8ac6b783b9 100644 (file)
 struct adf_user_cfg_key_val {
        char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES];
        char val[ADF_CFG_MAX_VAL_LEN_IN_BYTES];
-       union {
-               char *user_val_ptr;
-               uint64_t padding1;
-       };
-       union {
-               struct adf_user_cfg_key_val *prev;
-               uint64_t padding2;
-       };
        union {
                struct adf_user_cfg_key_val *next;
                uint64_t padding3;
@@ -74,10 +66,6 @@ struct adf_user_cfg_section {
                struct adf_user_cfg_key_val *params;
                uint64_t padding1;
        };
-       union {
-               struct adf_user_cfg_section *prev;
-               uint64_t padding2;
-       };
        union {
                struct adf_user_cfg_section *next;
                uint64_t padding3;