diff options
author | Andrey Smirnov <[email protected]> | 2019-08-20 13:23:47 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2019-08-30 18:05:28 +1000 |
commit | 70c0cda27a10df44e81887bc4cb10f587236a941 (patch) | |
tree | d6897ec7b9c8624a4f134d70f82cae8bd95c4475 /scripts/gdb/linux/tasks.py | |
parent | 671e50384ee6267052c5d613dc84a72b7fe9ef4b (diff) |
crypto: caam - move DMA mask selection into a function
Exactly the same code to figure out DMA mask is repeated twice in the
driver code. To avoid repetition, move that logic into a standalone
subroutine in intern.h. While at it re-shuffle the code to make it
more readable with early returns.
Signed-off-by: Andrey Smirnov <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Cc: Chris Spencer <[email protected]>
Cc: Cory Tusar <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Horia Geantă <[email protected]>
Cc: Aymen Sghaier <[email protected]>
Cc: Leonard Crestez <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions