diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:45 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:45 -0500 |
commit | 92b83c8f3219c36d61a6600ceb422e65c409be59 (patch) | |
tree | 33629e712ff49fb57b30fb68c0de941af17cea91 /include/linux/ide.h | |
parent | b034304a28d15f019ca914e954c3de20df28065e (diff) |
ide: remove ->nice0 and ->nice2 fields from ide_drive_t
* ->nice0 and ->nice2 ide_drive_t fields are always zero so remove them.
* IDE_NICE_0 and IDE_NICE_2 defines from <linux/hdreg.h> are no longer
used by any kernel code so cover them with #ifndef/#endif __KERNEL__.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-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 3b31da892002..4871437a52b2 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -407,8 +407,6 @@ typedef struct ide_drive_s { | |||
407 | unsigned no_unmask : 1; /* disallow setting unmask bit */ | 407 | unsigned no_unmask : 1; /* disallow setting unmask bit */ |
408 | unsigned no_io_32bit : 1; /* disallow enabling 32bit I/O */ | 408 | unsigned no_io_32bit : 1; /* disallow enabling 32bit I/O */ |
409 | unsigned atapi_overlap : 1; /* ATAPI overlap (not supported) */ | 409 | unsigned atapi_overlap : 1; /* ATAPI overlap (not supported) */ |
410 | unsigned nice0 : 1; /* give obvious excess bandwidth */ | ||
411 | unsigned nice2 : 1; /* give a share in our own bandwidth */ | ||
412 | unsigned doorlocking : 1; /* for removable only: door lock/unlock works */ | 410 | unsigned doorlocking : 1; /* for removable only: door lock/unlock works */ |
413 | unsigned nodma : 1; /* disallow DMA */ | 411 | unsigned nodma : 1; /* disallow DMA */ |
414 | unsigned autotune : 2; /* 0=default, 1=autotune, 2=noautotune */ | 412 | unsigned autotune : 2; /* 0=default, 1=autotune, 2=noautotune */ |