summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2012-12-02 11:35:26 +0530
committerSimone Willett <swillett@nvidia.com>2012-12-04 20:37:47 -0800
commite0d6db92581b49f1e9d9d90f52a318ee5b237a0e (patch)
treed849f0c3666ba9dd4fdc89aa7618b71a08265bcd
parent56cca8b6bc24ca9c7a898db9d40022216e464d62 (diff)
crypto: tegra-se: Remove unused code
coverity id: 20917 Bug 1046331 Change-Id: Ia5653fff5df8cb0b5d8bda838b8d7cd883527fa0 Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/167944 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
-rw-r--r--drivers/crypto/tegra-se.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/crypto/tegra-se.c b/drivers/crypto/tegra-se.c
index 84045a21ad78..a8cf66eb350d 100644
--- a/drivers/crypto/tegra-se.c
+++ b/drivers/crypto/tegra-se.c
@@ -806,13 +806,8 @@ static void tegra_se_dequeue_complete_req(struct tegra_se_dev *se_dev,
struct ablkcipher_request *req)
{
struct scatterlist *src_sg, *dst_sg;
- u32 num_src_sgs, num_dst_sgs;
- int src_chained, dst_chained;
u32 total;
- num_src_sgs = tegra_se_count_sgs(req->src, req->nbytes, &src_chained);
- num_dst_sgs = tegra_se_count_sgs(req->dst, req->nbytes, &dst_chained);
-
if (req) {
src_sg = req->src;
dst_sg = req->dst;