提交 a5cc8049 编写于 作者: J Joe Perches 提交者: Greg Kroah-Hartman

USB: isd200.c: Remove unnecessary kmalloc cast

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 dc6eb27b
无相关合并请求
......@@ -1456,8 +1456,7 @@ static int isd200_init_info(struct us_data *us)
int retStatus = ISD200_GOOD;
struct isd200_info *info;
info = (struct isd200_info *)
kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
info = kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
if (!info)
retStatus = ISD200_ERROR;
else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册