diff options
| author | Thomas Gleixner <[email protected]> | 2019-07-26 22:19:07 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-08-02 14:45:13 +1000 |
| commit | f9981bc53825de2c001659d35c870786771f1e90 (patch) | |
| tree | 1466c732fc5dcb3fc64c73f1ee9216a9c38b2ece /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3e75241be8081f22f7382f4041496b10a4d9aed0 (diff) | |
crypto: api - Remove redundant #ifdef in crypto_yield()
While looking at CONFIG_PREEMPT dependencies treewide the #ifdef in
crypto_yield() matched.
CONFIG_PREEMPT and CONFIG_PREEMPT_VOLUNTARY are mutually exclusive so the
extra !CONFIG_PREEMPT conditional is redundant.
cond_resched() has only an effect when CONFIG_PREEMPT_VOLUNTARY is set,
otherwise it's a stub which the compiler optimizes out.
Remove the whole conditional.
No functional change.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: Herbert Xu <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions