diff options
| author | Bartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl> | 2004-04-25 04:50:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-25 04:50:03 -0700 |
| commit | 9d8bbc624978a06fc5a5595e6cc9b8ce1c456893 (patch) | |
| tree | 45eecc7a6e10977a82d13615a41a5f9b523766fa /include | |
| parent | 0b15a1402f6e51966694ed462490813b61177f3f (diff) | |
[PATCH] use kernel min/max in IDE code (2/2)
From: Randy Dunlap <rddunlap@osdl.org>
From: Michael Veeck <michael.veeck@gmx.net>
Removes unnecessary IDE_MIN()/IDE_MAX() macros
and changes calls to use kernel.h macros instead.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index abfe784b24cc..aa2e86d087cb 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -215,8 +215,6 @@ typedef unsigned char byte; /* used everywhere */ #define SECTOR_SIZE 512 #define SECTOR_WORDS (SECTOR_SIZE / 4) /* number of 32bit words per sector */ #define IDE_LARGE_SEEK(b1,b2,t) (((b1) > (b2) + (t)) || ((b2) > (b1) + (t))) -#define IDE_MIN(a,b) ((a)<(b) ? (a):(b)) -#define IDE_MAX(a,b) ((a)>(b) ? (a):(b)) /* * Timeouts for various operations: |
