Tiny IDE cleanup

From: Pavel Machek (pavel@ucw.cz)
Date: Tue Feb 19 2002 - 14:41:55 EST


Hi!

What about this tiny cleanup? Its against 2.4., but applicable to 2.5,
too.

                                                                Pavel

--- clean.2.4/include/linux/ide.h Mon Nov 5 21:43:28 2001
+++ linux-swsusp.24/include/linux/ide.h Tue Feb 19 20:38:38 2002
@@ -697,11 +698,9 @@
  * structure directly (the allocation/layout may change!).
  *
  */
-#ifndef _IDE_C
 extern ide_hwif_t ide_hwifs[]; /* master data repository */
 extern ide_module_t *ide_modules;
 extern ide_module_t *ide_probe;
-#endif
 extern int noautodma;
 
 /*
@@ -900,10 +899,8 @@
 void do_ide_request (request_queue_t * q);
 void ide_init_subdrivers (void);
 
-#ifndef _IDE_C
 extern struct block_device_operations ide_fops[];
 extern ide_proc_entry_t generic_subdriver_entries[];
-#endif
 
 #ifdef _IDE_C
 #ifdef CONFIG_BLK_DEV_IDE

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:21 EST