diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-10 16:23:22 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-11 13:15:32 -0500 |
commit | 154177e14a141468374f438ed3096ab097b79976 (patch) | |
tree | 43cf1c7bb869fdbc571021acd62ebff7fc934777 | |
parent | c88ef3c12dcf8596433d52a2631982d9d3a478dd (diff) | |
download | u-boot-imx-154177e14a141468374f438ed3096ab097b79976.zip u-boot-imx-154177e14a141468374f438ed3096ab097b79976.tar.gz u-boot-imx-154177e14a141468374f438ed3096ab097b79976.tar.bz2 |
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]; |