slcand: fix whitespace issues and unify coding style
authorOliver Hartkopp <socketcan@hartkopp.net>
Sun, 15 Sep 2013 19:54:37 +0000 (21:54 +0200)
committerOliver Hartkopp <socketcan@hartkopp.net>
Sun, 15 Sep 2013 19:54:37 +0000 (21:54 +0200)
commit35d2bc1381f04e0fcc5baadf9d1ddad8db0187d3
treea3013c62d5dc5f2124891e187a2aa07a2ac8188c
parent94006e996df5a31c2721d80a148bd3add3574bd6
slcand: fix whitespace issues and unify coding style

Fixed coding style inspired by Linux checkpatch.pl
Additionally removed a comment in the write() result check in the 'if (speed)'
statement to make sure the write() is not optimized away as the executed code
was empty.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
slcand.c