diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2005-11-19 22:17:55 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2005-11-19 22:17:55 +0100 |
commit | e07bc7096424b977e53a16d72ec02645389107ba (patch) | |
tree | d415e926d3a1b5f0e280464e91db239af0adbe59 /include/linux/hdreg.h | |
parent | c0bc113373d94ebd89d0d024421df8aac60ed08a (diff) | |
download | kernel_samsung_smdk4412-e07bc7096424b977e53a16d72ec02645389107ba.tar.gz kernel_samsung_smdk4412-e07bc7096424b977e53a16d72ec02645389107ba.tar.bz2 kernel_samsung_smdk4412-e07bc7096424b977e53a16d72ec02645389107ba.zip |
[PATCH] ide: remove dead code from flagged_taskfile()
flagged_taskfile() is called from execute_drive_cmd()
(the only user) only if args->tf_out_flags.all != 0.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/hdreg.h')
-rw-r--r-- | include/linux/hdreg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h index b5d660089de..2b54eac738e 100644 --- a/include/linux/hdreg.h +++ b/include/linux/hdreg.h @@ -80,10 +80,12 @@ /* * Define standard taskfile in/out register */ -#define IDE_TASKFILE_STD_OUT_FLAGS 0xFE #define IDE_TASKFILE_STD_IN_FLAGS 0xFE -#define IDE_HOB_STD_OUT_FLAGS 0x3C #define IDE_HOB_STD_IN_FLAGS 0x3C +#ifndef __KERNEL__ +#define IDE_TASKFILE_STD_OUT_FLAGS 0xFE +#define IDE_HOB_STD_OUT_FLAGS 0x3C +#endif typedef unsigned char task_ioreg_t; typedef unsigned long sata_ioreg_t; |