Remove prefetch() from <linux/skbuff.h> and "netlabel_addrlist.h"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 22 May 2011 23:51:43 +0000 (16:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 May 2011 04:43:41 +0000 (21:43 -0700)
commita1e4891fd48d298870b704c6eb48cba0da5ed6b1
tree96fa29fd0c3803f1d1803e1b979c6ac8345fff5a
parent70c71606190e9115e5f8363bfcd164c582eb314a
Remove prefetch() from <linux/skbuff.h> and "netlabel_addrlist.h"

Commit e66eed651fd1 ("list: remove prefetching from regular list
iterators") removed the include of prefetch.h from list.h.  The skbuff
list traversal still had them.

Quoth David Miller:
  "Please just remove the prefetches.

  Those are modelled after list.h as I intend to eventually convert
  SKB list handling to "struct list_head" but we're not there yet.

  Therefore if we kill prefetches from list.h we should kill it from
  these things in skbuff.h too."

Requested-by: David Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/skbuff.h
net/netlabel/netlabel_addrlist.h