net_native: diet time
authorAlan Cox <alan@linux.intel.com>
Sun, 21 Feb 2016 20:27:11 +0000 (20:27 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 21 Feb 2016 20:27:11 +0000 (20:27 +0000)
commitb1c4e24adae754c0d71e8be015437eebdb488d65
tree7fe1ac0d1bc205f62280f049267ba04302ca8d17
parent2f92e8b91d8faf7332541421a863a8bb7df636df
net_native: diet time

Shave 768 bytes out of net_native with a mix of duplicate code removal and
judicious use of static variables to help SDCC and the Z80 in general.
Kernel/dev/net/net_native.c
Kernel/include/net_native.h