diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-02-20 11:16:16 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-02-20 11:40:46 +0300 |
commit | 00bf80c437dcbbd808d61cc2866c8f065ff436bd (patch) | |
tree | b0166c3d4fa8e4e26b30b7105bf032e0a60208c4 /tools/perf/scripts/python | |
parent | c8fba5d6df5e476aa791db4f1f014dad2bb5e904 (diff) | |
download | linux-00bf80c437dcbbd808d61cc2866c8f065ff436bd.tar.xz |
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 <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20240220-raw-setsockopt-v1-1-7d34cb1377fc@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions