提交 3305a6bc 编写于 作者: G Geert Uytterhoeven 提交者: Linus Torvalds

ps3av: remove unused fields in ps3av_monitor_quirks

Remove the `clear_50' and `clear_vesa' fields of struct
ps3av_monitor_quirk, as they're currently unused.  We can always re-add
them when we really need them.
Signed-off-by: NGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 41ab4396
...@@ -729,7 +729,7 @@ static void ps3av_monitor_info_dump(const struct ps3av_pkt_av_get_monitor_info * ...@@ -729,7 +729,7 @@ static void ps3av_monitor_info_dump(const struct ps3av_pkt_av_get_monitor_info *
static const struct ps3av_monitor_quirk { static const struct ps3av_monitor_quirk {
const char *monitor_name; const char *monitor_name;
u32 clear_60, clear_50, clear_vesa; u32 clear_60;
} ps3av_monitor_quirks[] = { } ps3av_monitor_quirks[] = {
{ {
.monitor_name = "DELL 2007WFP", .monitor_name = "DELL 2007WFP",
...@@ -757,10 +757,6 @@ static void ps3av_fixup_monitor_info(struct ps3av_info_monitor *info) ...@@ -757,10 +757,6 @@ static void ps3av_fixup_monitor_info(struct ps3av_info_monitor *info)
quirk->monitor_name); quirk->monitor_name);
info->res_60.res_bits &= ~quirk->clear_60; info->res_60.res_bits &= ~quirk->clear_60;
info->res_60.native &= ~quirk->clear_60; info->res_60.native &= ~quirk->clear_60;
info->res_50.res_bits &= ~quirk->clear_50;
info->res_50.native &= ~quirk->clear_50;
info->res_vesa.res_bits &= ~quirk->clear_vesa;
info->res_vesa.native &= ~quirk->clear_vesa;
break; break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册