Staging: ft1000-usb: freeing uninitialized pointer
authorDan Carpenter <error27@gmail.com>
Wed, 17 Nov 2010 08:54:35 +0000 (11:54 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 17 Nov 2010 21:14:13 +0000 (13:14 -0800)
commit237a1a1aef91ab654988cb459d783ac0ee09d2ea
tree3f9d3527b76271f8382a3467f873fb699efc5744
parent93760716840a3feada381786f2defbd47a8099de
Staging: ft1000-usb: freeing uninitialized pointer

GCC complains that if (info->CardReady) is false we kfree() an
uninitialized pointer.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c