X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsmc91111.c;h=1357edee6ca5f0faf15c1a1a0030568643951d71;hb=6acc7c3cbc05873d62118640cf964e9c9665804c;hp=5cfef4dd7b463f13d0bc956078fdabddfae14368;hpb=a939ea3ab459d5fb3d1eaaec289c6ca85f2f74c1;p=oweals%2Fu-boot.git diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c index 5cfef4dd7b..1357edee6c 100644 --- a/drivers/net/smc91111.c +++ b/drivers/net/smc91111.c @@ -178,8 +178,6 @@ static void smc_phy_configure(struct eth_device *dev); * inx,outx functions fixed this problem. */ -#define barrier() __asm__ __volatile__("": : :"memory") - static inline word SMC_inw(struct eth_device *dev, dword offset) { word v; @@ -426,8 +424,7 @@ static void smc_halt(struct eth_device *dev) . Enable the transmit interrupt, so I know if it failed . Free the kernel data if I actually sent it. */ -static int smc_send(struct eth_device *dev, volatile void *packet, - int packet_length) +static int smc_send(struct eth_device *dev, void *packet, int packet_length) { byte packet_no; byte *buf;