Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5cc8049 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

USB: isd200.c: Remove unnecessary kmalloc cast



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dc6eb27b
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1456,8 +1456,7 @@ static int isd200_init_info(struct us_data *us)
	int retStatus = ISD200_GOOD;
	int retStatus = ISD200_GOOD;
	struct isd200_info *info;
	struct isd200_info *info;


	info = (struct isd200_info *)
	info = kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
			kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
	if (!info)
	if (!info)
		retStatus = ISD200_ERROR;
		retStatus = ISD200_ERROR;
	else {
	else {