From e6c5ab28c79a40f9f5e525d9faed7df4b89ff168 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 19 Apr 2013 12:17:42 +0800 Subject: [PATCH] blackfin: The buf variable in bfin_mac.c is not used and produces warning, Signed-off-by: Marek Vasut Signed-off-by: Sonic Zhang --- drivers/net/bfin_mac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index c63398ebf8..0ffd59d497 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); -- 2.25.1