All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bsg: remove #if 0'ed code
@ 2017-08-29 16:48 Christoph Hellwig
  2017-08-29 16:50 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2017-08-29 16:48 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/bsg.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/block/bsg.c b/block/bsg.c
index 37663b664666..ee1335c68de7 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -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
 	}
 }
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bsg: remove #if 0'ed code
  2017-08-29 16:48 [PATCH] bsg: remove #if 0'ed code Christoph Hellwig
@ 2017-08-29 16:50 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2017-08-29 16:50 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-block

On 08/29/2017 10:48 AM, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Applied, thanks.

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-29 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 16:48 [PATCH] bsg: remove #if 0'ed code Christoph Hellwig
2017-08-29 16:50 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.