projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: UHCI: Don't test the Short Packet Detect bit
[powerpc.git]
/
drivers
/
usb
/
misc
/
cytherm.c
diff --git
a/drivers/usb/misc/cytherm.c
b/drivers/usb/misc/cytherm.c
index
6671317
..
b20bec4
100644
(file)
--- a/
drivers/usb/misc/cytherm.c
+++ b/
drivers/usb/misc/cytherm.c
@@
-14,7
+14,6
@@
*/
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
@@
-351,12
+350,11
@@
static int cytherm_probe(struct usb_interface *interface,
struct usb_cytherm *dev = NULL;
int retval = -ENOMEM;
struct usb_cytherm *dev = NULL;
int retval = -ENOMEM;
- dev = k
m
alloc (sizeof(struct usb_cytherm), GFP_KERNEL);
+ dev = k
z
alloc (sizeof(struct usb_cytherm), GFP_KERNEL);
if (dev == NULL) {
dev_err (&interface->dev, "Out of memory\n");
goto error;
}
if (dev == NULL) {
dev_err (&interface->dev, "Out of memory\n");
goto error;
}
- memset (dev, 0x00, sizeof (*dev));
dev->udev = usb_get_dev(udev);
dev->udev = usb_get_dev(udev);