diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-26 13:39:11 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-08-26 19:36:51 +0300 |
commit | 85c94dcffcb775bafffd6e966db49253e1b789d9 (patch) | |
tree | cc5de0fdae0bd4fca88bb82541a3de4bd585629a /drivers/vfio/mdev | |
parent | ca4ddaac7fa710a250bbd650cc719425bec973a0 (diff) | |
download | linux-85c94dcffcb775bafffd6e966db49253e1b789d9.tar.xz |
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 <jgg@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20210826103912.128972-13-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/mdev')
-rw-r--r-- | drivers/vfio/mdev/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
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. |