mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	compat_blkdev_driver_ioctl: Remove unused variable warning
Variable 'ret' is no longer used. Don't declare it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									54d822a616
								
							
						
					
					
						commit
						5f4f0c4d3f
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -582,8 +582,6 @@ static int compat_blk_trace_setup(struct block_device *bdev, char __user *arg) | |||
| static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, | ||||
| 			unsigned cmd, unsigned long arg) | ||||
| { | ||||
| 	int ret; | ||||
| 
 | ||||
| 	switch (cmd) { | ||||
| 	case HDIO_GET_UNMASKINTR: | ||||
| 	case HDIO_GET_MULTCOUNT: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Linus Torvalds
						Linus Torvalds