]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ipc/msg.c: use list_for_each_entry_[safe] for list traversing
authorNikola Pajkovsky <npajkovs@redhat.com>
Wed, 1 May 2013 02:15:49 +0000 (19:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 15:12:58 +0000 (08:12 -0700)
commit41239fe82d85c135684b09f1e65622d6c1dbe8dc
treec7c44c3f87444d9636bc911ce98401ab974c21dd
parent6062a8dc0517bce23e3c2f7d2fea5e22411269a3
ipc/msg.c: use list_for_each_entry_[safe] for list traversing

The ipc/msg.c code does its list operations by hand and it open-codes the
accesses, instead of using for_each_entry_[safe].

Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/msg.c