Fixed rtdmnet.c PFX and removed useless commented code.
--- 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);
}