[RFC,v2,7/8] drm/i915: now that all functions are used, remove __maybe_unused
Commit Message
The PCI-specific KUnit tests that run in bare metal got added,
so we can remove the __maybe_unused from such functions.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH RFC v2 0/8] at: https://lore.kernel.org/all/cover.1667486144.git.mchehab@kernel.org/
drivers/gpu/drm/i915/selftests/i915_kunit.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
@@ -26,7 +26,7 @@
static int n_boards;
static struct pci_dev *dev_i915[MAX_PCI_BOARDS];
-static int __maybe_unused i915_pci_init_suite(struct kunit_suite *suite)
+static int i915_pci_init_suite(struct kunit_suite *suite)
{
struct pci_dev *pdev = NULL;
int i;
@@ -64,7 +64,7 @@ static int __maybe_unused i915_pci_init_suite(struct kunit_suite *suite)
return 0;
}
-static void __maybe_unused i915_pci_exit_suite(struct kunit_suite *suite)
+static void i915_pci_exit_suite(struct kunit_suite *suite)
{
int i;
@@ -74,8 +74,8 @@ static void __maybe_unused i915_pci_exit_suite(struct kunit_suite *suite)
n_boards = 0;
}
-static void __maybe_unused run_pci_test(struct kunit *test,
- int (*f)(struct drm_i915_private *i915))
+static void run_pci_test(struct kunit *test,
+ int (*f)(struct drm_i915_private *i915))
{
struct drm_i915_private *i915;
int i, ret, disable_display;