summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2023-10-18 11:53:52 +0200
committerVasily Gorbik <gor@linux.ibm.com>2023-10-25 15:08:29 +0200
commitaecd5a37b5ef4de4f6402dc079672e4243cc4c13 (patch)
tree6f68ff3e3b5de97e33a7757afd5a052ec58d338f /drivers/hid
parentb286997e83dcf7b498329a66a8a22fc8a5bf50f0 (diff)
s390/pai_crypto: remove per-cpu variable assignement in event initialization
Function paicrypt_event_init() initializes the PMU device driver specific details for an event. It is called once per event creation. The function paicrypt_event_init() is not necessarily executed on that CPU the event will be used for. When an event is activated, function paicrypt_start() is used to start the event on that CPU. The per CPU data structure struct paicrypt_map has a pointer to the event which is active for a particular CPU. This pointer is set in function paicrypt_start() to point to the currently installed event. There is no need to also set this pointer in function paicrypt_event_init() where is might be assigned to the wrong CPU. Therefore remove this assignment in paicrypt_event_init(). Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions