linux-stable/drivers/dma-buf
Colin Ian King ecfed29cc1 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-06 16:44:33 +02:00
..
Kconfig dma-buf/sw_sync: de-stage SW_SYNC 2016-08-15 16:41:46 +02:00
Makefile dma-buf/sw_sync: de-stage SW_SYNC 2016-08-15 16:41:46 +02:00
dma-buf.c dma-buf: remove redundant initialization of sg_table 2018-06-06 16:44:33 +02:00
fence-array.c dma-buf: fix kernel-doc warning and typos 2016-08-17 09:19:28 +05:30
fence.c dma-fence: Introduce drm_fence_set_error() helper 2017-12-09 22:01:56 +01:00
reservation.c reservation: fix small comment typo 2016-08-22 09:22:09 +02:00
seqno-fence.c dma-buf: Minor coding style fixes 2015-05-21 11:29:59 +05:30
sw_sync.c dma-buf/sw_sync: force signal all unsignaled fences on dying timeline 2017-12-09 22:01:56 +01:00
sync_debug.c dma-fence: Wrap querying the fence->status 2017-12-09 22:01:56 +01:00
sync_debug.h dma-buf/sw-sync: Use an rbtree to sort fences in the timeline 2017-12-09 22:01:55 +01:00
sync_file.c dma-buf: Update kerneldoc for sync_file_create 2017-12-09 22:01:56 +01:00
sync_trace.h dma-buf/sw_sync: de-stage SW_SYNC 2016-08-15 16:41:46 +02:00