Skip to contentSkip to conversation

video: fbdev: matrox: the list iterator can't be NULL

PATCH Bartlomiej Zolnierkiewicz 1 participant 1 message Jul 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Dan Carpenter

My static checker is complaining because we check "drv" for NULL and then we dereference it to get the next item in the list. It can't be NULL so we can remove this check.

Patch queued for 4.13, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics