diff options
author | Joakim Bech <joakim.xx.bech@stericsson.com> | 2011-05-23 16:23:56 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:04:35 +0200 |
commit | 8645233e6375a93e4054ad1568b79bed8271d50c (patch) | |
tree | 555dd7c2474ba6d0134d79d0d4b49abbbc132dae /net/lapb/lapb_timer.c | |
parent | eebb14cb2df3fb6071b217e1b1f571ad2b9a79ad (diff) |
cryp: CPU mode register read/write optimizations
- Minimize the number of read/write to the cryp hardware.
- Write direct to hardware instead of going through functions that
aren't inlined to get rid of function prologues/epilogues.
- Remove NULL checks where performance is needed and the check itself
is unnecessary since it is catched earlier in the callstack.
- Remove unused defines/includes that are not used any longer due to
above optimizations.
ST-Ericsson ID: 341921
ST-Ericsson Linux next: Not tested, ER 320876
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9efff1714f851672f8cb04e0c946a753a4b3f4b8
Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23719
Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions