--- zzzz-none-000/linux-3.10.107/drivers/usb/mon/mon_stat.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/usb/mon/mon_stat.c 2021-02-04 17:41:59.000000000 +0000 @@ -28,7 +28,8 @@ struct mon_bus *mbus; struct snap *sp; - if ((sp = kmalloc(sizeof(struct snap), GFP_KERNEL)) == NULL) + sp = kmalloc(sizeof(struct snap), GFP_KERNEL); + if (sp == NULL) return -ENOMEM; mbus = inode->i_private;