linux-sg2042/drivers/net/can/usb
Oliver Hartkopp a2ec19f888 can: remove obsolete assignment for CAN protocol error type
The assignment 'cf->data[2] |= CAN_ERR_PROT_UNSPEC' used at CAN error message
creation time is obsolete as CAN_ERR_PROT_UNSPEC is zero and cf->data[2] is
initialized with zero in alloc_can_err_skb() anyway.

So we could either assign 'cf->data[2] = CAN_ERR_PROT_UNSPEC' correctly or we
can remove the obsolete OR operation entirely.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-11-23 09:37:38 +01:00
..
peak_usb can: pcan_usb: don't provide CAN FD bittimings by non-FD adapters 2015-08-25 08:50:00 +02:00
Kconfig can: peak_usb: add support for PEAK new CANFD USB adapters 2015-01-28 14:47:06 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
ems_usb.c can: remove obsolete assignment for CAN protocol error type 2015-11-23 09:37:38 +01:00
esd_usb2.c can: remove obsolete assignment for CAN protocol error type 2015-11-23 09:37:38 +01:00
gs_usb.c can: gs_usb: Fix typo in function name 2015-08-20 10:52:42 +02:00
kvaser_usb.c can: fix assignment of error location in CAN error messages 2015-11-23 09:37:34 +01:00
usb_8dev.c can: remove obsolete assignment for CAN protocol error type 2015-11-23 09:37:38 +01:00