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
..
2015-08-13 21:12:17 -07:00
2015-11-15 17:09:23 -05:00
2015-11-05 13:15:12 -08:00
2015-11-17 14:39:29 -05:00
2015-11-04 17:32:42 -08:00
2015-10-21 19:36:10 -07:00
2015-10-13 04:55:07 -07:00
2015-10-13 04:55:07 -07:00
2015-11-04 17:32:42 -08:00