]> git.baikalelectronics.ru Git - kernel.git/commit
can: gw: remove obsolete checks
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 4 Dec 2013 18:52:36 +0000 (19:52 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 21 Dec 2013 13:56:21 +0000 (14:56 +0100)
commit1532e7685e138577bb4d329c9f009713ec090bbf
tree8af4fe6cc50bef0f182043821ce17119c3f59ccc
parentb16a9183b80d10c6402ce7d47cbc480fb2894d4a
can: gw: remove obsolete checks

In commit 9ef79a7a7070e97b39778fde0010d4cbbf946f0f ("can: gw: add a variable
limit for CAN frame routings") the detection of the frame routing has been
changed. The former solution required dev->header_ops to be unused (== NULL).

I missed to remove the obsolete checks in the original commit - so here it is.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/gw.c