Staging: hv: Remove check for NULL before calling kfree()
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 5 May 2010 19:27:29 +0000 (15:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:12 +0000 (11:36 -0700)
commit1e19c054434c7d3ad618129c2ff5c3d81efa6949
treede0af2766b61998dadff0807f6c6df821cbce70a
parent2342df0e63f4ca9a4227ea06f951f09180497914
Staging: hv: Remove check for NULL before calling kfree()

kfree() knows how to deal with NULL, so there's no reason to check for
NULL before passing something to it.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Hv.c