aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2022-10-31 12:26:24 +0100
committerMarc Kleine-Budde <[email protected]>2022-12-10 12:53:09 +0100
commitcce2d7d2abcc8d083fbb24e795089542f1e742c8 (patch)
treec632a74c11515544588592bde220ba0627a06082 /tools/perf/scripts/python
parentdd8b3a802b64adf059a49a68f1bdca7846e492fc (diff)
can: kvaser_usb: kvaser_usb_set_bittiming(): fix redundant initialization warning for err
The variable err is initialized, but the initialized value is Overwritten before it is read. Fix the warning by not initializing the variable err at all. Fixes: 39d3df6b0ea8 ("can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming") Cc: Jimmy Assarsson <[email protected]> Cc: Anssi Hannula <[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')
0 files changed, 0 insertions, 0 deletions