diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/oti6858.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c index 64f3f66a7a35..d19861166b50 100644 --- a/drivers/usb/serial/oti6858.c +++ b/drivers/usb/serial/oti6858.c | |||
@@ -1144,7 +1144,7 @@ static struct pl2303_buf *pl2303_buf_alloc(unsigned int size) | |||
1144 | if (size == 0) | 1144 | if (size == 0) |
1145 | return NULL; | 1145 | return NULL; |
1146 | 1146 | ||
1147 | pb = (struct pl2303_buf *)kmalloc(sizeof(struct pl2303_buf), GFP_KERNEL); | 1147 | pb = kmalloc(sizeof(struct pl2303_buf), GFP_KERNEL); |
1148 | if (pb == NULL) | 1148 | if (pb == NULL) |
1149 | return NULL; | 1149 | return NULL; |
1150 | 1150 | ||