Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 19 Feb 2001 16:58:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 19 Feb 2001 16:57:56 -0500 Received: from balu.sch.bme.hu ([152.66.224.40]:36753 "EHLO balu.sch.bme.hu") by vger.kernel.org with ESMTP id ; Mon, 19 Feb 2001 16:57:42 -0500 Date: Mon, 19 Feb 2001 22:57:32 +0100 (MET) From: Pozsar Balazs To: linux-kernel Subject: [IDE] meaningless #ifndef? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org from drivers/ide/ide-features.c: /* * All hosts that use the 80c ribbon mus use! */ byte eighty_ninty_three (ide_drive_t *drive) { return ((byte) ((HWIF(drive)->udma_four) && #ifndef CONFIG_IDEDMA_IVB (drive->id->hw_config & 0x4000) && #endif /* CONFIG_IDEDMA_IVB */ (drive->id->hw_config & 0x6000)) ? 1 : 0); } If i see well, then this is always same whether CONFIG_IDEDMA_IVB is defined or not. What's the clue? -- pozsy. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/