summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-10 22:39:24 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-10 22:39:24 +0200
commita2cdee5a9a93360165d0576bbc7e9ccb3127afee (patch)
tree0a8b381c5224a12c837cb9376d256fa00f7e50e8 /include/linux
parent7c199a5496d0579d388636ee34a954e2e566d2fb (diff)
downloadop-kernel-dev-a2cdee5a9a93360165d0576bbc7e9ccb3127afee.zip
op-kernel-dev-a2cdee5a9a93360165d0576bbc7e9ccb3127afee.tar.gz
ide: remove IDE_CHIPSET_* macros
They just obfuscate the code. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 2ad8548..a9206c4 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -473,10 +473,6 @@ typedef struct ide_drive_s ide_drive_t;
#define to_ide_device(dev)container_of(dev, ide_drive_t, gendev)
-#define IDE_CHIPSET_PCI_MASK \
- ((1<<ide_pci)|(1<<ide_cmd646)|(1<<ide_ali14xx))
-#define IDE_CHIPSET_IS_PCI(c) ((IDE_CHIPSET_PCI_MASK >> (c)) & 1)
-
struct ide_task_s;
struct ide_port_info;
OpenPOWER on IntegriCloud