summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-19 00:08:47 -0400
committerMike Frysinger <vapier@gentoo.org>2012-07-19 00:09:32 -0400
commit6705e036ce2a815ff23eef0e4ed123550474516d (patch)
tree7d658de9ec53f837d176727d2c60d6cb24098e80 /drivers/net
parent42c6e9ad1b4bf5a8d071460a614c4d24e6877369 (diff)
downloadtalos-obmc-uboot-6705e036ce2a815ff23eef0e4ed123550474516d.tar.gz
talos-obmc-uboot-6705e036ce2a815ff23eef0e4ed123550474516d.zip
Blackfin: bfin_mac: drop volatile markings on packet buffers
Now that common code doesn't declare these as volatile, we don't need to either anymore. This fixes the build warning: bfin_mac.c: In function 'bfin_EMAC_recv': bfin_mac.c:193:23: warning: assignment discards qualifiers from pointer target type Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/bfin_mac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index e24ac4a174..c63398ebf8 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -190,8 +190,7 @@ static int bfin_EMAC_recv(struct eth_device *dev)
debug("%s: len = %d\n", __func__, length - 4);
- NetRxPackets[rxIdx] =
- (volatile uchar *)(rxbuf[rxIdx]->FrmData->Dest);
+ NetRxPackets[rxIdx] = rxbuf[rxIdx]->FrmData->Dest;
NetReceive(NetRxPackets[rxIdx], length - 4);
bfin_write_DMA1_IRQ_STATUS(DMA_DONE | DMA_ERR);
rxbuf[rxIdx]->StatusWord = 0x00000000;
OpenPOWER on IntegriCloud