git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] USB: kfree cleanup for drivers/usb/* - no need to check for NULL
[pandora-kernel.git]
/
drivers
/
usb
/
serial
/
belkin_sa.c
diff --git
a/drivers/usb/serial/belkin_sa.c
b/drivers/usb/serial/belkin_sa.c
index
86994d1
..
abb1b2c
100644
(file)
--- a/
drivers/usb/serial/belkin_sa.c
+++ b/
drivers/usb/serial/belkin_sa.c
@@
-202,8
+202,7
@@
static void belkin_sa_shutdown (struct usb_serial *serial)
for (i=0; i < serial->num_ports; ++i) {
/* My special items, the standard routines free my urbs */
priv = usb_get_serial_port_data(serial->port[i]);
- if (priv)
- kfree(priv);
+ kfree(priv);
}
}