Message ID | 102e5c65e07ebdade5400ca711fba131a37027a8.camel@perches.com |
---|---|
State | New |
Headers | show |
Series | mediatek: media: Missing alloc null test | expand |
diff -u -p ./drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c /tmp/nothing/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c --- ./drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c +++ /tmp/nothing/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c @@ -79,7 +79,6 @@ struct mtk_vcodec_fw *mtk_vcodec_fw_scp_ } fw = devm_kzalloc(&plat_dev->dev, sizeof(*fw), GFP_KERNEL); - fw->type = SCP; fw->ops = &mtk_vcodec_rproc_msg; fw->scp = scp;