]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
blackfin: The buf variable in bfin_mac.c is not used and produces warning,
authorMarek Vasut <marex@denx.de>
Fri, 19 Apr 2013 04:17:42 +0000 (12:17 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 13 May 2013 08:30:27 +0000 (16:30 +0800)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
drivers/net/bfin_mac.c

index c63398ebf8d1235fa7a187f825ae55db429e81b2..0ffd59d49780ec5ddf76a357079dd74ccbc72031 100644 (file)
@@ -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);