Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283307
b: refs/heads/master
c: a1a38c4
h: refs/heads/master
i:
  283305: d5d7509
  283303: 5e13366
v: v3
  • Loading branch information
Kim Phillips authored and Herbert Xu committed Dec 20, 2011
1 parent 5adc79e commit c0ce5d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2ecb155a30fea933cc539fc2064fef825fd9511
refs/heads/master: a1a38c4c6a0f73e8a9dc217c0e4e0ac483a89f25
13 changes: 0 additions & 13 deletions trunk/drivers/crypto/caam/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ static int caam_probe(struct platform_device *pdev)
struct caam_ctrl __iomem *ctrl;
struct caam_full __iomem *topregs;
struct caam_drv_private *ctrlpriv;
struct caam_deco **deco;
u32 deconum;
#ifdef CONFIG_DEBUG_FS
struct caam_perfmon *perfmon;
#endif
Expand Down Expand Up @@ -92,17 +90,6 @@ static int caam_probe(struct platform_device *pdev)
if (sizeof(dma_addr_t) == sizeof(u64))
dma_set_mask(dev, DMA_BIT_MASK(36));

/* Find out how many DECOs are present */
deconum = (rd_reg64(&topregs->ctrl.perfmon.cha_num) &
CHA_NUM_DECONUM_MASK) >> CHA_NUM_DECONUM_SHIFT;

ctrlpriv->deco = kmalloc(deconum * sizeof(struct caam_deco *),
GFP_KERNEL);

deco = (struct caam_deco __force **)&topregs->deco;
for (d = 0; d < deconum; d++)
ctrlpriv->deco[d] = deco[d];

/*
* Detect and enable JobRs
* First, find out how many ring spec'ed, allocate references
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/crypto/caam/regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,6 @@ struct caam_full {
u64 rsvd[512];
struct caam_assurance assure;
struct caam_queue_if qi;
struct caam_deco *deco;
};

#endif /* REGS_H */

0 comments on commit c0ce5d6

Please sign in to comment.