diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-10-26 16:00:51 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2022-11-01 14:17:55 +0300 |
commit | f64e86200974a7331cae2af306005f69474755d6 (patch) | |
tree | 5912d7d95f7300accc5cc0a02b26af6480ae6e32 /arch/m68k | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
download | linux-f64e86200974a7331cae2af306005f69474755d6.tar.xz |
m68k: mac: Remove unused rbv_set_video_bpp()
In examining rbv_set_video_bpp()'s improper usage of a non-explictly
signed char type, it turns out that the function is actually unused.
So remove it.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://lore.kernel.org/r/20221026130051.1577286-1-Jason@zx2c4.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/mac_via.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/m68k/include/asm/mac_via.h b/arch/m68k/include/asm/mac_via.h index 1149251ea58d..a9ef1e9ba6c4 100644 --- a/arch/m68k/include/asm/mac_via.h +++ b/arch/m68k/include/asm/mac_via.h @@ -267,14 +267,6 @@ extern void via1_irq(struct irq_desc *desc); extern void via1_set_head(int); extern int via2_scsi_drq_pending(void); -static inline int rbv_set_video_bpp(int bpp) -{ - char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1; - if (!rbv_present || val<0) return -1; - via2[rMonP] = (via2[rMonP] & ~RBV_DEPTH) | val; - return 0; -} - #endif /* __ASSEMBLY__ */ #endif /* _ASM_MAC_VIA_H_ */ |