USB: isd200.c: Remove unnecessary kmalloc cast
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
		
					parent
					
						
							
								dc6eb27bdd
							
						
					
				
			
			
				commit
				
					
						a5cc8049ca
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -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 {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue