mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04: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);
|
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)
|
uchar *enetaddr)
|
||||||
{
|
{
|
||||||
char enetvar[32];
|
char enetvar[32];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user