aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-09-15 00:05:16 +0100
committerDaniel Vetter <[email protected]>2017-09-20 22:02:07 +0200
commit531beb067c6185aceabfdee0965234c6a8fd133b (patch)
treef3283cfe28438e6425697efdb240978159afb280 /net/switchdev/switchdev.c
parent13cc80ce4404e19619c41fc636ebb2dd91a22c23 (diff)
dma-buf: remove redundant initialization of sg_table
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 <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions