From: Arthur Othieno Date: Sun, 30 Jul 2006 10:04:20 +0000 (-0700) Subject: [PATCH] nvidiafb: remove redundant CONFIG_PCI check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1367d2a2817e6199092b43fe01c1eed3374c4e4;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] nvidiafb: remove redundant CONFIG_PCI check CONFIG_FB_NVIDIA already depends on CONFIG_PCI in drivers/video/Kconfig. Driver does an extra ``sanity check'' which is then redundant. Signed-off-by: Arthur Othieno Cc: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index 9f2066f0745..d0ca0d89dd2 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -34,10 +34,6 @@ #include "nv_proto.h" #include "nv_dma.h" -#ifndef CONFIG_PCI /* sanity check */ -#error This driver requires PCI support. -#endif - #undef CONFIG_FB_NVIDIA_DEBUG #ifdef CONFIG_FB_NVIDIA_DEBUG #define NVTRACE printk