mirror of https://gitee.com/openkylin/linux.git
staging: ft1000: Fix compilation warning.
This patch fix following warning: drivers/staging/ft1000/ft1000-usb/ft1000_usb.c:67:22: warning: ‘pft1000info’ may be used uninitialized in this function Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
24d6050b35
commit
7716090be5
|
@ -64,7 +64,7 @@ static int ft1000_probe(struct usb_interface *interface,
|
|||
int i, ret = 0, size;
|
||||
|
||||
struct ft1000_device *ft1000dev;
|
||||
struct ft1000_info *pft1000info;
|
||||
struct ft1000_info *pft1000info = NULL;
|
||||
const struct firmware *dsp_fw;
|
||||
|
||||
ft1000dev = kmalloc(sizeof(struct ft1000_device), GFP_KERNEL);
|
||||
|
|
Loading…
Reference in New Issue