net: Remove volatile from net API

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joe Hershberger 2012-05-15 08:59:04 +00:00
parent 0a6deb3251
commit db288a9602
6 changed files with 41 additions and 42 deletions

View file

@ -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;