summaryrefslogtreecommitdiff
path: root/net/bootp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-15 08:59:04 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-15 17:10:04 -0500
commitdb288a96027fa1cb3f8a53f330724f864224a56c (patch)
tree03b8f695f2789f2ede97f17858b4e892c19bf422 /net/bootp.c
parent0a6deb3251a68b5be640ab1b848ca67e906b75ce (diff)
downloadu-boot-imx-db288a96027fa1cb3f8a53f330724f864224a56c.zip
u-boot-imx-db288a96027fa1cb3f8a53f330724f864224a56c.tar.gz
u-boot-imx-db288a96027fa1cb3f8a53f330724f864224a56c.tar.bz2
net: Remove volatile from net API
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/bootp.c')
-rw-r--r--net/bootp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bootp.c b/net/bootp.c
index 9e32476..35654b4 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -586,7 +586,7 @@ static int BootpExtended (u8 * e)
void
BootpRequest (void)
{
- volatile uchar *pkt, *iphdr;
+ uchar *pkt, *iphdr;
Bootp_t *bp;
int ext_len, pktlen, iplen;
@@ -839,7 +839,7 @@ static int DhcpMessageType(unsigned char *popt)
static void DhcpSendRequestPkt(Bootp_t *bp_offer)
{
- volatile uchar *pkt, *iphdr;
+ uchar *pkt, *iphdr;
Bootp_t *bp;
int pktlen, iplen, extlen;
IPaddr_t OfferedIP;