ecryptfs: ecryptfs_msg_ctx_alloc_to_free(): remove kfree() redundant null check
authorTim Gardner <tim.gardner@canonical.com>
Tue, 12 Feb 2013 18:03:49 +0000 (11:03 -0700)
committerTyler Hicks <tyhicks@canonical.com>
Tue, 12 Feb 2013 18:09:11 +0000 (10:09 -0800)
commit1101d58669a92ed9c9f4c7281404fb1e067a1e28
tree1b536f289f0b5463a71b764473e3fca1313aebbc
parent3a46741804a4226cd837d1246eed95d4161f7159
ecryptfs: ecryptfs_msg_ctx_alloc_to_free(): remove kfree() redundant null check

smatch analysis:

fs/ecryptfs/messaging.c:101 ecryptfs_msg_ctx_alloc_to_free() info:
 redundant null check on msg_ctx->msg calling kfree()

Cc: Dustin Kirkland <dustin.kirkland@gazzang.com>
Cc: ecryptfs@vger.kernel.org
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/messaging.c