ide: remove ->nice0 and ->nice2 fields from ide_drive_t
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:45 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:45 +0000 (19:56 +0100)
commit92b83c8f3219c36d61a6600ceb422e65c409be59
tree33629e712ff49fb57b30fb68c0de941af17cea91
parentb034304a28d15f019ca914e954c3de20df28065e
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>
drivers/ide/ide.c
include/linux/hdreg.h
include/linux/ide.h