mirror of https://github.com/torvalds/linux.git
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ems_pci.c | ||
| ems_pcmcia.c | ||
| kvaser_pci.c | ||
| peak_pci.c | ||
| peak_pcmcia.c | ||
| plx_pci.c | ||
| sja1000.c | ||
| sja1000.h | ||
| sja1000_isa.c | ||
| sja1000_platform.c | ||
| tscan1.c | ||