diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-09-01 06:32:13 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-09-01 06:32:13 -0400 |
commit | 9d7548d4ca3c52ecb58f098a32b0756cdf8f96ee (patch) | |
tree | 651f7058bbaa2d8b2855286380d614afcf505118 /drivers/usb/misc/isight_firmware.c | |
parent | 31db6e9ea1dbdcf66b8227b4f7035dee1b1dd8c0 (diff) | |
parent | bef69ea0dcce574a425feb0a5aa4c63dd108b9a6 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/usb/misc/isight_firmware.c')
-rw-r--r-- | drivers/usb/misc/isight_firmware.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/isight_firmware.c b/drivers/usb/misc/isight_firmware.c index d94aa7387608..b897f6554ecd 100644 --- a/drivers/usb/misc/isight_firmware.c +++ b/drivers/usb/misc/isight_firmware.c | |||
@@ -48,7 +48,8 @@ static int isight_firmware_load(struct usb_interface *intf, | |||
48 | 48 | ||
49 | if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) { | 49 | if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) { |
50 | printk(KERN_ERR "Unable to load isight firmware\n"); | 50 | printk(KERN_ERR "Unable to load isight firmware\n"); |
51 | return -ENODEV; | 51 | ret = -ENODEV; |
52 | goto out; | ||
52 | } | 53 | } |
53 | 54 | ||
54 | ptr = firmware->data; | 55 | ptr = firmware->data; |
@@ -91,7 +92,6 @@ static int isight_firmware_load(struct usb_interface *intf, | |||
91 | buf, llen, 300) != llen) { | 92 | buf, llen, 300) != llen) { |
92 | printk(KERN_ERR | 93 | printk(KERN_ERR |
93 | "Failed to load isight firmware\n"); | 94 | "Failed to load isight firmware\n"); |
94 | kfree(buf); | ||
95 | ret = -ENODEV; | 95 | ret = -ENODEV; |
96 | goto out; | 96 | goto out; |
97 | } | 97 | } |