net: Refactor bootp packet length computations
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:10 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:46:19 +0000 (17:46 -0500)
commitae446f56223420b3a137e717b2c6a95636bf26d4
treed30738ba7972e6ef3218ee99a75aac5ac218bb08
parent00f33268ab02984a5fa8b3783b6096d4ce6c48c7
net: Refactor bootp packet length computations

Eliminate pointer subtraction that recovers values computed earlier

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
net/bootp.c