Skip to content

Commit 3305a6b

Browse files
Geert UytterhoevenLinus Torvalds
authored andcommitted
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: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 41ab439 commit 3305a6b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎drivers/ps3/ps3av.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ static void ps3av_monitor_info_dump(const struct ps3av_pkt_av_get_monitor_info *
729729

730730
static const struct ps3av_monitor_quirk {
731731
const char *monitor_name;
732-
u32 clear_60, clear_50, clear_vesa;
732+
u32 clear_60;
733733
} ps3av_monitor_quirks[] = {
734734
{
735735
.monitor_name = "DELL 2007WFP",
@@ -757,10 +757,6 @@ static void ps3av_fixup_monitor_info(struct ps3av_info_monitor *info)
757757
quirk->monitor_name);
758758
info->res_60.res_bits &= ~quirk->clear_60;
759759
info->res_60.native &= ~quirk->clear_60;
760-
info->res_50.res_bits &= ~quirk->clear_50;
761-
info->res_50.native &= ~quirk->clear_50;
762-
info->res_vesa.res_bits &= ~quirk->clear_vesa;
763-
info->res_vesa.native &= ~quirk->clear_vesa;
764760
break;
765761
}
766762
}

0 commit comments

Comments
 (0)