Remove commented-out code

This commit is contained in:
Simon Duquennoy 2015-10-06 15:39:29 +02:00
parent 1634acf2c4
commit f49b161795
4 changed files with 0 additions and 14 deletions

View file

@ -287,16 +287,8 @@ output_sniffer(int mac_status)
static void
sniffprint(char *prefix, int seqno)
{
/* const linkaddr_t *sender; */
/* const linkaddr_t *receiver; */
const linkaddr_t *esender;
/* const linkaddr_t *ereceiver; */
/* sender = packetbuf_addr(PACKETBUF_ADDR_SENDER); */
/* receiver = packetbuf_addr(PACKETBUF_ADDR_RECEIVER); */
esender = packetbuf_addr(PACKETBUF_ADDR_ESENDER);
/* ereceiver = packetbuf_addr(PACKETBUF_ADDR_ERECEIVER); */
printf("%lu %s %d %u %d %d %d.%d %u %u\n",
clock_time(),

View file

@ -332,14 +332,10 @@ static void
parse_incoming_packet(const uint8_t *buf, int len)
{
int numregs;
/*int flags;*/
int i;
int bufptr;
numregs = buf[MSG_NUMREGS_OFFSET];
/*flags = buf[MSG_FLAGS_OFFSET];*/
/* printf("parse_incoming_packet Numregs %d flags %d\n", numregs, flags);*/
bufptr = MSG_ADDRS_OFFSET;
for(i = 0; i < numregs; ++i) {

View file

@ -12,7 +12,6 @@
/* MCUSR is a deprecated name but older avr-libc versions may define it */
#if !defined (MCUCSR)
# if defined (MCUSR)
/*# warning *** MCUCSR not defined, using MCUSR instead ****/
# define MCUCSR MCUSR
# endif
#endif

View file

@ -67,7 +67,6 @@
/* MCUSR is a deprecated name but older avr-libc versions may define it */
#if !defined (MCUCSR)
# if defined (MCUSR)
/*# warning *** MCUCSR not defined, using MCUSR instead ****/
# define MCUCSR MCUSR
# endif
#endif