diff options
| author | Christophe JAILLET <[email protected]> | 2023-03-23 20:40:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-29 09:02:19 +0200 |
| commit | c03ff66dc0e0cbad9ed0c29500843e1da8533118 (patch) | |
| tree | 33a7dc3e497d8d121ff32cb3c4946743aa18ca56 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | df9ba6a245b34332e82df07b078988abf0ac1f09 (diff) | |
usb: pci-quirks: Reduce the length of a spinlock section in usb_amd_find_chipset_info()
'info' is local to the function. There is no need to zeroing it within
a spin_lock section. Moreover, there is no need to explicitly initialize
the .need_pll_quirk field.
Initialize the structure when defined and remove the now useless memset().
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/08ee42fced6af6bd56892cd14f2464380ab071fa.1679600396.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions