From db288a96027fa1cb3f8a53f330724f864224a56c Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Tue, 15 May 2012 08:59:04 +0000 Subject: net: Remove volatile from net API Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- net/bootp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/bootp.c') 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; -- cgit v1.1