Re: [PATCH v3] staging: sm750fb: remove dead VALIDATION_CHIP conditionals
Greg Kroah-Hartman <[email protected]> Tue, 28 Jul 2026 09:13:22 +0200
| Newsgroups | org.kernel.vger.linux-fbdev,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <2026072845-curliness-overcook-68a0@gregkh> |
On Fri, Jul 24, 2026 at 01:12:59PM +0000, Nils Lehnen wrote: > @@ -1020,9 +996,7 @@ > #define CRT_DISPLAY_CTRL_CRTSELECT BIT(25) > #define CRT_DISPLAY_CTRL_RGBBIT BIT(24) > > -#ifndef VALIDATION_CHIP > #define CRT_DISPLAY_CTRL_CENTERING BIT(24) > -#endif But this define isn't used anywhere. > #define CRT_DISPLAY_CTRL_LOCK_TIMING BIT(23) > #define CRT_DISPLAY_CTRL_EXPANSION BIT(22) > #define CRT_DISPLAY_CTRL_VERTICAL_MODE BIT(21) > @@ -1121,22 +1095,17 @@ > > /* This vertical expansion below start at 0x080240 ~ 0x080264 */ > #define CRT_VERTICAL_EXPANSION 0x080240 > -#ifndef VALIDATION_CHIP > #define CRT_VERTICAL_CENTERING_VALUE_MASK (0xff << 24) > -#endif And neither is this. And now the indentation for all of these does not make any sense, right? thanks, greg k-h