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)
commitc0ebbdd6b57949775d428f00b8696a4078f86ac4
tree8af4fe6cc50bef0f182043821ce17119c3f59ccc
parentac7686b9698038cdf5148c9904db907448dceca4
can: gw: remove obsolete checks

In commit be286bafe1f4069094865264f29805854c5788bf ("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