mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 20:54:24 +08:00
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>
This commit is contained in:
parent
c88ef3c12d
commit
154177e14a
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user