Skip to contentSkip to conversation

bsg: remove #if 0'ed code

PATCH Applied Christoph Hellwig 2 participants 2 messages Aug 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bsg: remove #if 0'ed code

---
 block/bsg.c | 7 -------
 1 file changed, 7 deletions(-)
block/bsg.c +0 -7
index 37663b664666..ee1335c68de7 100644
@@ -932,15 +932,8 @@ static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 
 		return ret;
 	}
-	/*
-	 * block device ioctls
-	 */
 	default:
-#if 0
-		return ioctl_by_bdev(bd->bdev, cmd, arg);
-#else
 		return -ENOTTY;
-#endif
 	}
 }
 
Signature · 1 line
2.11.0