diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-10 21:23:22 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-11 18:15:32 (GMT) |
commit | 154177e14a141468374f438ed3096ab097b79976 (patch) | |
tree | 43cf1c7bb869fdbc571021acd62ebff7fc934777 | |
parent | c88ef3c12dcf8596433d52a2631982d9d3a478dd (diff) | |
download | u-boot-154177e14a141468374f438ed3096ab097b79976.tar.xz |
net: Inline the new eth_setenv_enetaddr_by_index function
This function is currently only used in one case. Inline for now.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r-- | net/eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ int eth_getenv_enetaddr_by_index(const char *base_name, int index, return eth_getenv_enetaddr(enetvar, enetaddr); } -int eth_setenv_enetaddr_by_index(const char *base_name, int index, +static inline int eth_setenv_enetaddr_by_index(const char *base_name, int index, uchar *enetaddr) { char enetvar[32]; |