diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-09-11 14:20:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:57:07 -0700 |
commit | 077bf22b5cf233863826afbfa4af9b18650a832d (patch) | |
tree | d071057c3a68f9c19ccb31108a65f56b6e761341 /net/iucv | |
parent | b2c56e4f7d93be3f33a82ec66f0d0f46713ff5f1 (diff) | |
download | blackbird-op-linux-077bf22b5cf233863826afbfa4af9b18650a832d.tar.gz blackbird-op-linux-077bf22b5cf233863826afbfa4af9b18650a832d.zip |
mm: do_mmap_pgoff: cleanup the usage of file_inode()
Simple cleanup. Move "struct inode *inode" variable into "if (file)"
block to simplify the code and avoid the unnecessary check.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Colin Cross <ccross@android.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions