mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-10 03:07:16 +01:00
blackfin: The buf variable in bfin_mac.c is not used and produces warning,
Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
85f2f8f9ad
commit
e6c5ab28c7
1 changed files with 0 additions and 2 deletions
|
|
@ -122,8 +122,6 @@ static int bfin_EMAC_send(struct eth_device *dev, void *packet, int length)
|
|||
{
|
||||
int i;
|
||||
int result = 0;
|
||||
unsigned int *buf;
|
||||
buf = (unsigned int *)packet;
|
||||
|
||||
if (length <= 0) {
|
||||
printf("Ethernet: bad packet size: %d\n", length);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue