diff options
author | Ruchika Gupta <ruchika.gupta@freescale.com> | 2013-07-31 06:18:56 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-07-31 20:55:40 -0400 |
commit | 6dad41158db696d77eb17df12d5b1f3e196a7f2f (patch) | |
tree | 08ef3d8894ea10a7cab292cf961cf903f385c157 /drivers/crypto/caam/intern.h | |
parent | 674349f365ce7ac2b826edc619907a19c7136822 (diff) |
crypto: caam - Remove unused functions from Job Ring
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/intern.h')
-rw-r--r-- | drivers/crypto/caam/intern.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/crypto/caam/intern.h b/drivers/crypto/caam/intern.h index e4a16b741371..34c4b9f7fbfa 100644 --- a/drivers/crypto/caam/intern.h +++ b/drivers/crypto/caam/intern.h | |||
@@ -9,9 +9,6 @@ | |||
9 | #ifndef INTERN_H | 9 | #ifndef INTERN_H |
10 | #define INTERN_H | 10 | #define INTERN_H |
11 | 11 | ||
12 | #define JOBR_UNASSIGNED 0 | ||
13 | #define JOBR_ASSIGNED 1 | ||
14 | |||
15 | /* Currently comes from Kconfig param as a ^2 (driver-required) */ | 12 | /* Currently comes from Kconfig param as a ^2 (driver-required) */ |
16 | #define JOBR_DEPTH (1 << CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE) | 13 | #define JOBR_DEPTH (1 << CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE) |
17 | 14 | ||
@@ -46,7 +43,6 @@ struct caam_drv_private_jr { | |||
46 | struct caam_job_ring __iomem *rregs; /* JobR's register space */ | 43 | struct caam_job_ring __iomem *rregs; /* JobR's register space */ |
47 | struct tasklet_struct irqtask; | 44 | struct tasklet_struct irqtask; |
48 | int irq; /* One per queue */ | 45 | int irq; /* One per queue */ |
49 | int assign; /* busy/free */ | ||
50 | 46 | ||
51 | /* Job ring info */ | 47 | /* Job ring info */ |
52 | int ringsize; /* Size of rings (assume input = output) */ | 48 | int ringsize; /* Size of rings (assume input = output) */ |
@@ -68,7 +64,6 @@ struct caam_drv_private { | |||
68 | 64 | ||
69 | struct device *dev; | 65 | struct device *dev; |
70 | struct device **jrdev; /* Alloc'ed array per sub-device */ | 66 | struct device **jrdev; /* Alloc'ed array per sub-device */ |
71 | spinlock_t jr_alloc_lock; | ||
72 | struct platform_device *pdev; | 67 | struct platform_device *pdev; |
73 | 68 | ||
74 | /* Physical-presence section */ | 69 | /* Physical-presence section */ |