2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/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 can: populate netdev::dev_id for udev discrimination 2014-03-17 09:20:16 +01:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
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 can: populate netdev::dev_id for udev discrimination 2014-03-17 09:20:16 +01:00
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 can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
tscan1.c can: remove __dev* attributes 2012-12-03 11:16:11 -08:00