Re: [PATCH v1 05/28] video: fbdev: aty: Fix W=1 warnings in atyfb_base

2020-11-27 Thread kernel test robot
Hi Sam, I love your patch! Yet something to improve: [auto build test ERROR on next-20201127] [also build test ERROR on v5.10-rc5] [cannot apply to tegra-drm/drm/tegra/for-next soc/for-next linus/master drm/drm-next v5.10-rc5 v5.10-rc4 v5.10-rc3] [If your patch is applied to the wrong git tree,

[PATCH v1 05/28] video: fbdev: aty: Fix W=1 warnings in atyfb_base

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings about variables assigned but never used. - Drop variables that was never used - Avoid using a local variable by moving the expression to an if condition Signed-off-by: Sam Ravnborg Cc: Bartlomiej Zolnierkiewicz Cc: Sam Ravnborg Cc: Daniel Vetter Cc: Joe Perches Cc: Vaibhav