* [linux-next:master 4221/14229] arch/arm/mach-pxa/pxa27x.c:273:5-8: Unneeded variable: "ret". Return "0" on line 284
@ 2026-12-03 0:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03 0:23 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 799dd936553182df5770dde7f38d94c8337df75a
commit: 71a0ba7b39ad4882141bd01d8e526ffbc6995610 [4221/14229] ARM: remove legacy pxa board files
config: arm-randconfig-r2105-20261202 (https://download.01.org/0day-ci/archive/20261203/20261203012233.Sum24OgN-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 31d2179357f4fa69013af12b6480307c9ce750d4)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203012233.Sum24OgN-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> arch/arm/mach-pxa/pxa27x.c:273:5-8: Unneeded variable: "ret". Return "0" on line 284
vim +273 arch/arm/mach-pxa/pxa27x.c
851982c1b6ca18 Marek Vasut 2010-10-11 270
^1da177e4c3f41 Linus Torvalds 2005-04-16 271 static int __init pxa27x_init(void)
^1da177e4c3f41 Linus Torvalds 2005-04-16 272 {
2eaa03b5bebd1e Rafael J. Wysocki 2011-04-22 @273 int ret = 0;
c016550490687c eric miao 2008-01-28 274
e176bb05fec4c0 Russell King 2007-05-15 275 if (cpu_is_pxa27x()) {
e86bd43bcfc579 Arnd Bergmann 2019-09-08 276 pxa_register_wdt(RCSR);
04fef228fb00dd Eric Miao 2008-07-29 277
711be5ccfe9a02 Eric Miao 2007-07-18 278 pxa27x_init_pm();
f79299ca85f6f8 eric miao 2008-01-02 279
a97fbc3ee3e2a5 Thierry Reding 2025-10-29 280 register_syscore(&pxa_irq_syscore);
a97fbc3ee3e2a5 Thierry Reding 2025-10-29 281 register_syscore(&pxa2xx_mfp_syscore);
e176bb05fec4c0 Russell King 2007-05-15 282 }
c016550490687c eric miao 2008-01-28 283
e176bb05fec4c0 Russell King 2007-05-15 @284 return ret;
^1da177e4c3f41 Linus Torvalds 2005-04-16 285 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 286
:::::: The code at line 273 was first introduced by commit
:::::: 2eaa03b5bebd1e80014f780d7bf27c3e66daefd6 ARM / PXA: Use struct syscore_ops for "core" power management
:::::: TO: Rafael J. Wysocki <rjw@sisk.pl>
:::::: CC: Rafael J. Wysocki <rjw@sisk.pl>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-03 0:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 0:23 [linux-next:master 4221/14229] arch/arm/mach-pxa/pxa27x.c:273:5-8: Unneeded variable: "ret". Return "0" on line 284 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.