diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2012-08-06 12:02:29 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-08-07 04:10:57 -0400 |
commit | 035534ed3377d9def2c17717899fd64a111a785b (patch) | |
tree | 25efb74e0abecd07bc07e2c73ce7f92e7b67c70c /sound/oss/sb_ess.h | |
parent | 5d299f3d3c8a2fbc732b1bf03af36333ccec3130 (diff) |
canfd: remove redundant CAN FD flag
The first idea of the CAN FD implementation started with a new struct
canfd_frame to be used for both CAN FD frames and legacy CAN frames.
The now mainlined implementation supports both CAN frame types simultaneously
and distinguishes them only by their required sizes: CAN_MTU and CANFD_MTU.
Only the struct canfd_frame contains a flags element which is needed for the
additional CAN FD information. As CAN FD implicitly means that the 'Extened
Data Length' mode is enabled the formerly defined CANFD_EDL bit became
redundant and also confusing as an unset bit would be an error and would
always need to be tested.
This patch removes the obsolete CANFD_EDL bit and clarifies the documentation
for the use of struct canfd_frame and the CAN FD relevant flags.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'sound/oss/sb_ess.h')
0 files changed, 0 insertions, 0 deletions