# HG changeset patch # User Edouard Tisserant # Date 1536961039 -7200 # Node ID a5c4ccc022855f93bb33b19a1c1780182cdb03ae # Parent 05359dee357874a358ee3795752d431767d8753e Fixed rtdmnet.c PFX and removed useless commented code. diff -r 05359dee3578 -r a5c4ccc02285 devices/rtdmnet.c --- a/devices/rtdmnet.c Fri Sep 14 17:59:33 2018 +0200 +++ b/devices/rtdmnet.c Fri Sep 14 23:37:19 2018 +0200 @@ -50,7 +50,7 @@ #include "../globals.h" #include "ecdev.h" -#define PFX "ec_rtnet: " +#define PFX "ec_rtdmnet: " #define ETH_P_ETHERCAT 0x88A4 @@ -324,9 +324,6 @@ msg.msg_iovlen = 1; ret = rtdm_sendmsg(dev->socket, &msg, 0); - // printk("sendmsg: %d\n", ret); - // if (ret != len && ret != -ENOSYS) - // printk(" rtdm_sendmsg() = %d!\n", ret); return ret == len ? NETDEV_TX_OK : NETDEV_TX_BUSY; } @@ -358,7 +355,6 @@ } else if (ret < 0) { break; } - //printk("revmsg: %d\n", ret); budget--; } while (budget); }