drivers/media/i2c/ar0521.c:409:5-8: Unneeded variable: "ret". Return "0" on line 426

From: kernel test robot
Date: Sat Sep 03 2022 - 02:30:07 EST


Hi Hans,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d895ec7938c431fe61a731939da76a6461bc6133
commit: dbae22e2008ee6a3acf2b7d989800eff80f0aa1f media: ar0521: fix Kconfig: VIDEO_V4L2 -> VIDEO_DEV
date: 7 weeks ago
config: s390-randconfig-c024-20220901 (https://download.01.org/0day-ci/archive/20220903/202209031459.IAynxt5W-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

cocci warnings: (new ones prefixed by >>)
>> drivers/media/i2c/ar0521.c:409:5-8: Unneeded variable: "ret". Return "0" on line 426

--
0-DAY CI Kernel Test Service
https://01.org/lkp