summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/carl9170/carl9170.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-03-02 20:51:35 +0100
committerKalle Valo <quic_kvalo@quicinc.com>2022-03-10 17:53:38 +0200
commit23de0fa0d2a05ff71c7bc8df9d12c9f23be83f13 (patch)
tree2a14b42cbc2c90569c5fa3a9fbc92f39343c0b36 /drivers/net/wireless/ath/carl9170/carl9170.h
parente42fe43a216cab59b6cc0cba96ec23db2d81a5d4 (diff)
downloadlinux-next-23de0fa0d2a05ff71c7bc8df9d12c9f23be83f13.tar.gz
carl9170: devres-ing hwrng_register usage
devres will take care of freeing the hwrng once it is no longer needed. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/d1c16490462a9371ab3cc16a018ef5e08382a35e.1646250537.git.chunkeey@gmail.com
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/carl9170.h')
-rw-r--r--drivers/net/wireless/ath/carl9170/carl9170.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/carl9170.h b/drivers/net/wireless/ath/carl9170/carl9170.h
index 84a8ce0784b1..ba29b4aebe9f 100644
--- a/drivers/net/wireless/ath/carl9170/carl9170.h
+++ b/drivers/net/wireless/ath/carl9170/carl9170.h
@@ -458,7 +458,6 @@ struct ar9170 {
# define CARL9170_HWRNG_CACHE_SIZE CARL9170_MAX_CMD_PAYLOAD_LEN
struct {
struct hwrng rng;
- bool initialized;
char name[30 + 1];
u16 cache[CARL9170_HWRNG_CACHE_SIZE / sizeof(u16)];
unsigned int cache_idx;