]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Reverted the changes from r528 as 'ret' was set every time at socket
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 18 Oct 2007 02:27:15 +0000 (02:27 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 18 Oct 2007 02:27:15 +0000 (02:27 +0000)
commit7acf8b3b4bc34e403188596af3f241f876a672fe
treea9ff7a77ca2b9318e7b1ac510fbe4c33bc4482b5
parent13fee03de38e922d500b155afefc8601150d0992
Reverted the changes from r528 as 'ret' was set every time at socket
creation time even in the unlikely case that these protocol checks fail.
Additionally it was worse in readability.
Updated the comment for the whole protocol checks _code block_.
Therefore this comment is not directly placed before the first check.
I hope this was enough explanation why i reverted r528 like this.
If not, we should discuss it outside the SVN.
Oliver

git-svn-id: svn://svn.berlios.de//socketcan/trunk@529 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/net/can/af_can.c