Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: hifn_795x - Remove unused hifn_*_command structs

Remove 'hifn_mac_command' and 'hifn_comp_command' which are unused.
They're the same structure as 'hifn_crypt_command' which is used.

(I was tempted to remove
hifn_base_result
hifn_comp_result
hifn_mac_result and
hifn_crypt_result
which are also unused, but they vary, and perhaps they're telling
someone in the future what to look at.)

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Dr. David Alan Gilbert and committed by
Herbert Xu
eaa85778 e793f6c4

-17
-17
drivers/crypto/hifn_795x.c
··· 495 495 #define HIFN_CRYPT_CMD_SRCLEN_M 0xc000 496 496 #define HIFN_CRYPT_CMD_SRCLEN_S 14 497 497 498 - /* 499 - * Structure to help build up the command data structure. 500 - */ 501 - struct hifn_mac_command { 502 - volatile __le16 masks; 503 - volatile __le16 header_skip; 504 - volatile __le16 source_count; 505 - volatile __le16 reserved; 506 - }; 507 - 508 498 #define HIFN_MAC_CMD_ALG_MASK 0x0001 509 499 #define HIFN_MAC_CMD_ALG_SHA1 0x0000 510 500 #define HIFN_MAC_CMD_ALG_MD5 0x0001 ··· 515 525 */ 516 526 #define HIFN_MAC_CMD_POS_IPSEC 0x0200 517 527 #define HIFN_MAC_CMD_NEW_KEY 0x0800 518 - 519 - struct hifn_comp_command { 520 - volatile __le16 masks; 521 - volatile __le16 header_skip; 522 - volatile __le16 source_count; 523 - volatile __le16 reserved; 524 - }; 525 528 526 529 #define HIFN_COMP_CMD_SRCLEN_M 0xc000 527 530 #define HIFN_COMP_CMD_SRCLEN_S 14