Re: [PATCH] dm: remove unneeded variable 'sz'

2021-03-09 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v5.12-rc2 next-20210309] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in

Re: [PATCH] dm: remove unneeded variable 'sz'

2021-03-09 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v5.12-rc2 next-20210309] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in

[PATCH] dm: remove unneeded variable 'sz'

2021-03-09 Thread Yang Li
Fix the following coccicheck warning: ./drivers/md/dm-ps-service-time.c:85:10-12: Unneeded variable: "sz". Return "0" on line 105 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/md/dm-ps-service-time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git