[axboe-block:for-5.20/io_uring 39/171] io_uring/net.c:476:2-7: WARNING: NULL check before some freeing functions is not needed.

From: kernel test robot
Date: Sun Jul 17 2022 - 19:02:10 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-5.20/io_uring
head: 004523ebfe6de8dd664ddf6fc26c47801b3bdaf5
commit: fcc5280b51cc06ca127d118985c7a73fdff61c70 [39/171] io_uring: split network related opcodes into its own file
config: s390-randconfig-c043-20220717 (https://download.01.org/0day-ci/archive/20220718/202207180642.8rluUa8x-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 >>)
>> io_uring/net.c:476:2-7: WARNING: NULL check before some freeing functions is not needed.
io_uring/net.c:222:2-7: WARNING: NULL check before some freeing functions is not needed.

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