diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2005-12-21 13:24:46 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-07 20:56:47 -0500 |
commit | 4fb7d9827e89cc0a4ad2fde32ffa08f77cc0b7fe (patch) | |
tree | d10d90be7cb8fef4d6358f52d6a6fe6b59d2e6af /arch/x86_64/kernel/setup.c | |
parent | 164006da316a22eaaa9fbe36f835a01606436c66 (diff) |
[PATCH] drive_info removal outside of arch/i386
drive_info is used only by hd.c and that happens under #ifdef __i386__.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86_64/kernel/setup.c')
-rw-r--r-- | arch/x86_64/kernel/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 363db5a003df..9435ab7d6fb8 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -94,7 +94,6 @@ unsigned long saved_video_mode; | |||
94 | /* | 94 | /* |
95 | * Setup options | 95 | * Setup options |
96 | */ | 96 | */ |
97 | struct drive_info_struct { char dummy[32]; } drive_info; | ||
98 | struct screen_info screen_info; | 97 | struct screen_info screen_info; |
99 | struct sys_desc_table_struct { | 98 | struct sys_desc_table_struct { |
100 | unsigned short length; | 99 | unsigned short length; |
@@ -572,7 +571,6 @@ void __init setup_arch(char **cmdline_p) | |||
572 | unsigned long kernel_end; | 571 | unsigned long kernel_end; |
573 | 572 | ||
574 | ROOT_DEV = old_decode_dev(ORIG_ROOT_DEV); | 573 | ROOT_DEV = old_decode_dev(ORIG_ROOT_DEV); |
575 | drive_info = DRIVE_INFO; | ||
576 | screen_info = SCREEN_INFO; | 574 | screen_info = SCREEN_INFO; |
577 | edid_info = EDID_INFO; | 575 | edid_info = EDID_INFO; |
578 | saved_video_mode = SAVED_VIDEO_MODE; | 576 | saved_video_mode = SAVED_VIDEO_MODE; |