From: Marek Vasut Date: Fri, 19 Apr 2013 04:17:42 +0000 (+0800) Subject: blackfin: The buf variable in bfin_mac.c is not used and produces warning, X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e6c5ab28c79a40f9f5e525d9faed7df4b89ff168;p=u-boot.git blackfin: The buf variable in bfin_mac.c is not used and produces warning, Signed-off-by: Marek Vasut Signed-off-by: Sonic Zhang --- 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);