From: Bartlomiej Zolnierkiewicz Date: Fri, 7 Aug 2009 17:47:08 +0000 (-0400) Subject: Btrfs: remove superfluous NULL pointer check in btrfs_rename() X-Git-Tag: v2.6.31-rc6~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4baf8c9201e88546918cbfa61ea8062c38bc1644;p=pandora-kernel.git Btrfs: remove superfluous NULL pointer check in btrfs_rename() This takes care of the following entry from Dan's list: fs/btrfs/inode.c +4788 btrfs_rename(36) warning: variable derefenced before check 'old_inode' Reported-by: Dan Carpenter Cc: Jonathan Corbet Cc: Eugene Teo Cc: Julia Lawall Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Chris Mason --- Reading git-diff-tree failed