diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2024-03-01 22:45:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-02 22:06:22 +0100 |
| commit | 38f3fc2e82a03d6dbb30c1fecacc630bd0ac9c28 (patch) | |
| tree | c8860aa06a66ea82cc0c2e8caea0842f81b6f65e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | f8ff23ebce8c305383c8070e1ea3b08a69eb1e8d (diff) | |
serial: pch: Don't initialize uart_port's spin_lock.
There is no need to directly initialize the spinlock_t in struct
uart_port. The structure is later passed to uart_add_one_port() which
initialize the complete struct including the lock member.
Remove spin_lock_init() on uart_port's internal lock.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions