epoll: cleanup: use RCU_INIT_POINTER when nulling
authorEric Wong <normalperson@yhbt.net>
Tue, 30 Apr 2013 22:27:43 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:04 +0000 (17:04 -0700)
commitd6d67e7231c97d535069970c840d33fc6c4350ee
treec6aee26b6c54d52a8b60370674b9d2025f7f1229
parent450d89ec0a91dbad81adaa635fdb1325b57f8d69
epoll: cleanup: use RCU_INIT_POINTER when nulling

It is always safe to use RCU_INIT_POINTER to NULL a pointer.  This results
in slightly smaller/faster code.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c