summaryrefslogtreecommitdiff
path: root/include/libata.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:59:09 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:19 -0500
commit00f33268ab02984a5fa8b3783b6096d4ce6c48c7 (patch)
tree1d2bf41e3a7f6512f2231d65335f95845885a380 /include/libata.h
parent9214637a56abd27863824bd53e602b7721b3cda6 (diff)
downloadu-boot-imx-00f33268ab02984a5fa8b3783b6096d4ce6c48c7.zip
u-boot-imx-00f33268ab02984a5fa8b3783b6096d4ce6c48c7.tar.gz
u-boot-imx-00f33268ab02984a5fa8b3783b6096d4ce6c48c7.tar.bz2
net: Refactor packet length computations
Save the length when it is computed instead of forgetting it and subtracting pointers to figure it out again. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/libata.h')
0 files changed, 0 insertions, 0 deletions