summaryrefslogtreecommitdiff
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-04-19 12:17:42 +0800
committerSonic Zhang <sonic.zhang@analog.com>2013-05-13 16:30:27 +0800
commite6c5ab28c79a40f9f5e525d9faed7df4b89ff168 (patch)
treed05c607c60b2786ee3153d3a7e870f7e1619866d /drivers/net/bfin_mac.c
parent85f2f8f9adb13535cefcbd4987d2e8e5a978ccd4 (diff)
downloadu-boot-imx-e6c5ab28c79a40f9f5e525d9faed7df4b89ff168.zip
u-boot-imx-e6c5ab28c79a40f9f5e525d9faed7df4b89ff168.tar.gz
u-boot-imx-e6c5ab28c79a40f9f5e525d9faed7df4b89ff168.tar.bz2
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>
Diffstat (limited to 'drivers/net/bfin_mac.c')
-rw-r--r--drivers/net/bfin_mac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index c63398e..0ffd59d 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -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);