diff options
Diffstat (limited to 'drivers/usb/serial/belkin_sa.c')
-rw-r--r-- | drivers/usb/serial/belkin_sa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/belkin_sa.c b/drivers/usb/serial/belkin_sa.c index 86994d117c44..abb1b2c543bb 100644 --- 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) | |||
202 | for (i=0; i < serial->num_ports; ++i) { | 202 | for (i=0; i < serial->num_ports; ++i) { |
203 | /* My special items, the standard routines free my urbs */ | 203 | /* My special items, the standard routines free my urbs */ |
204 | priv = usb_get_serial_port_data(serial->port[i]); | 204 | priv = usb_get_serial_port_data(serial->port[i]); |
205 | if (priv) | 205 | kfree(priv); |
206 | kfree(priv); | ||
207 | } | 206 | } |
208 | } | 207 | } |
209 | 208 | ||