OSDN Git Service

staging: mmal-vchiq: clear redundant item named bulk_scratch
authorXiaoke Wang <xkernel.wang@foxmail.com>
Tue, 15 Mar 2022 17:24:12 +0000 (01:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 12:42:26 +0000 (13:42 +0100)
commit9b63000010a0ec3196bd6ecac5b828ba6e6b65dd
treec4ba2faa1d82bdd06b43d3cebc789d800c3f0d7a
parent7a6ee0bbab2551d7189ce0f5e625fef4d612ebea
staging: mmal-vchiq: clear redundant item named bulk_scratch

bulk_scratch is not used anywhere and the original allocation of it
does not have proper check.
Deleting it directly seems to be a good choice.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com>
Link: https://lore.kernel.org/r/tencent_F721901366AB5C720E008AF7F02DA5D3FF07@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c