From 85c94dcffcb775bafffd6e966db49253e1b789d9 Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Thu, 26 Aug 2021 13:39:11 +0300 Subject: vfio: Use kconfig if XX/endif blocks instead of repeating 'depends on' This results in less kconfig wordage and a simpler understanding of the required "depends on" to create the menu structure. The next patch increases the nesting level a lot so this is a nice preparatory simplification. Signed-off-by: Jason Gunthorpe Reviewed-by: Christoph Hellwig Signed-off-by: Yishai Hadas Link: https://lore.kernel.org/r/20210826103912.128972-13-yishaih@nvidia.com Signed-off-by: Alex Williamson --- drivers/vfio/mdev/Kconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/vfio/mdev/Kconfig') diff --git a/drivers/vfio/mdev/Kconfig b/drivers/vfio/mdev/Kconfig index 763c877a1318..646dbed44eb2 100644 --- a/drivers/vfio/mdev/Kconfig +++ b/drivers/vfio/mdev/Kconfig @@ -2,7 +2,6 @@ config VFIO_MDEV tristate "Mediated device driver framework" - depends on VFIO default n help Provides a framework to virtualize devices. -- cgit 1.4.1