]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
Use goto to handle errors in initialization
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 17:07:21 +0000 (18:07 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 17:07:21 +0000 (18:07 +0100)
commit12e4e3e792da87d6df95d1d1fbc6fc9685405b7e
treea9c2241f73163280be9b09ea97276c4bae2faa34
parent891597651202c08e2d5fa308c9e0f7c84f3c0c5e
Use goto to handle errors in initialization

This avoids repeating the cleanup commands everywhere.
net/can/canethgw.c