aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
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 /drivers/fpga/xilinx-spi.c
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 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions