net: Fix duplicate volatile warning.

jiffies is defined as "volatile".

extern unsigned long volatile __jiffy_data jiffies;

ACCESS_ONCE() uses "volatile".
As a result, some compilers warn duplicate `volatile' for ACCESS_ONCE(jiffies).

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Tetsuo Handa and committed by David S. Miller ef22b7b6 b52b97a3

+1 -1
+1 -1
include/net/neighbour.h
··· 303 303 304 304 static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) 305 305 { 306 - unsigned long now = ACCESS_ONCE(jiffies); 306 + unsigned long now = jiffies; 307 307 308 308 if (neigh->used != now) 309 309 neigh->used = now;