linux/drivers/net/can/sja1000
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
..
ems_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ems_pcmcia.c
Kconfig
kvaser_pci.c can: remove unused variable 2014-11-18 16:52:18 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
peak_pci.c can: peak_pci: add unused device id. in devices table 2015-09-30 12:57:58 +02:00
peak_pcmcia.c
plx_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
sja1000_isa.c net: can: sja1000: drop owner assignment from platform_drivers 2014-10-20 16:21:01 +02:00
sja1000_platform.c can: constify of_device_id array 2015-03-17 15:00:23 -04:00
sja1000.c can: remove obsolete assignment for CAN protocol error type 2015-11-23 09:37:38 +01:00
sja1000.h
tscan1.c