Loading net/caif/caif_usb.c +2 −3 Original line number Diff line number Diff line Loading @@ -87,10 +87,9 @@ static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN], { struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC); if (!this) { pr_warn("Out of memory\n"); if (!this) return NULL; } caif_assert(offsetof(struct cfusbl, layer) == 0); memset(this, 0, sizeof(struct cflayer)); Loading Loading
net/caif/caif_usb.c +2 −3 Original line number Diff line number Diff line Loading @@ -87,10 +87,9 @@ static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN], { struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC); if (!this) { pr_warn("Out of memory\n"); if (!this) return NULL; } caif_assert(offsetof(struct cfusbl, layer) == 0); memset(this, 0, sizeof(struct cflayer)); Loading