diff options
author | Cristian Stoica <cristian.stoica@freescale.com> | 2014-09-23 10:59:21 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:41:01 (GMT) |
commit | e8b69435af3cb76513b95e7ba7d817b2325089ba (patch) | |
tree | bf3c9f1d3d43f0bcef9799a32ffc041b8683abf7 /lib | |
parent | 0de60bc90aaadc0fbde2ec755d6b37775f7e124e (diff) | |
download | linux-fsl-qoriq-e8b69435af3cb76513b95e7ba7d817b2325089ba.tar.xz |
crypto: caamctrl refactoring: remove code duplication
Both error and normal paths call clrbits32 before returning. Put this
call in a single place to avoid code duplication
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
(cherry picked from commit c75e03a2d47583e39f46c2925abd0ca79a693086)
Signed-off-by: Matthew Weigel <Matthew.Weigel@freescale.com>
Conflicts:
drivers/crypto/caam/ctrl.c
Change-Id: I3c2ec1c34215b5d2a1ee036809beaeabf724ac48
Reviewed-on: http://git.am.freescale.net:8181/24179
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Matthew Weigel <Matthew.Weigel@freescale.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions