WSL2-Linux-Kernel/drivers/dma-buf
Colin Ian King 074e30a3fc dma-buf: remove redundant initialization of sg_table
commit 531beb067c upstream.

sg_table is being initialized and is never read before it is updated
again later on, hence making the initialization redundant. Remove
the initialization.

Detected by clang scan-build:
"warning: Value stored to 'sg_table' during its initialization is
never read"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170914230516.6056-1-colin.king@canonical.com
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-05 11:41:57 +02:00
..
Kconfig
Makefile
dma-buf.c dma-buf: remove redundant initialization of sg_table 2018-06-05 11:41:57 +02:00
dma-fence-array.c
dma-fence.c
reservation.c
seqno-fence.c
sw_sync.c
sync_debug.c
sync_debug.h
sync_file.c
sync_trace.h