fanotify: remove dead code in prepare_for_access_response
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Tue, 23 Nov 2010 22:26:17 +0000 (17:26 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 15 Dec 2010 18:58:45 +0000 (13:58 -0500)
Remove the unnecessary check for the bypass_perm flag in
prepare_for_access_response(), since this function can't be called after
fanotify_release() is called we know the flag cannot ever be set.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found