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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user