diff options
author | Marek Vasut <marex@denx.de> | 2013-04-19 12:17:42 +0800 |
---|---|---|
committer | Sonic Zhang <sonic.zhang@analog.com> | 2013-05-13 16:30:27 +0800 |
commit | e6c5ab28c79a40f9f5e525d9faed7df4b89ff168 (patch) | |
tree | d05c607c60b2786ee3153d3a7e870f7e1619866d /drivers | |
parent | 85f2f8f9adb13535cefcbd4987d2e8e5a978ccd4 (diff) | |
download | u-boot-e6c5ab28c79a40f9f5e525d9faed7df4b89ff168.zip u-boot-e6c5ab28c79a40f9f5e525d9faed7df4b89ff168.tar.gz u-boot-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')
-rw-r--r-- | drivers/net/bfin_mac.c | 2 |
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); |