Skip to content

Commit

Permalink
staging: ft1000: Fix compilation warning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Nov 20, 2010
1 parent 24d6050 commit 7716090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7716090

Please sign in to comment.