On 27.04.2021 18:52:47, Jiapeng Chong wrote: > The value stored to ptr in the calculations this patch removes is not > used, so the calculation and the assignment can be removed. > > Cleans up the following clang-analyzer warning: > > drivers/net/can/softing/softing_main.c:279:3: warning: Value stored to > 'ptr' is never read [clang-analyzer-deadcode.DeadStores]. > > drivers/net/can/softing/softing_main.c:242:3: warning: Value stored to > 'ptr' is never read [clang-analyzer-deadcode.DeadStores]. > > Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx> > Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> > --- > Changes in v2: > -Make the commit message more clearer. Thanks - Applied to linux-can-next/testing regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature