drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c:1435:5-8: Unneeded variable: "err". Return " - ENOENT" on line 1450
From: kernel test robot
Date: Fri Sep 22 2023 - 05:26:00 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 27bbf45eae9ca98877a2d52a92a188147cd61b07
commit: e1d597ecbe5c5d7128630d4c9ec27c42018613ed net: microchip: sparx5: Add TC template support
date: 7 months ago
config: csky-randconfig-r051-20230812 (https://download.01.org/0day-ci/archive/20230922/202309221718.XOjvU63U-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230922/202309221718.XOjvU63U-lkp@xxxxxxxxx/reproduce)
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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309221718.XOjvU63U-lkp@xxxxxxxxx/
cocci warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c:1435:5-8: Unneeded variable: "err". Return " - ENOENT" on line 1450
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki