diff options
| author | Marc Kleine-Budde <[email protected]> | 2024-02-20 09:16:16 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2024-02-20 09:40:46 +0100 |
| commit | 00bf80c437dcbbd808d61cc2866c8f065ff436bd (patch) | |
| tree | b0166c3d4fa8e4e26b30b7105bf032e0a60208c4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | c8fba5d6df5e476aa791db4f1f014dad2bb5e904 (diff) | |
can: raw: raw_getsockopt(): reduce scope of err
Reduce the scope of the variable "err" to the individual cases. This
is to avoid the mistake of setting "err" in the mistaken belief that
it will be evaluated later.
Reviewed-by: Vincent Mailhol <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions