Skip to content

Commit

Permalink
[PATCH] nvidiafb: remove redundant CONFIG_PCI check
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Arthur Othieno authored and Linus Torvalds committed Jul 31, 2006
1 parent 4b75599 commit b1367d2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/video/nvidia/nvidia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1367d2

Please sign in to comment.