]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: bdisp: remove redundant assignment to pix
authorColin Ian King <colin.king@canonical.com>
Sun, 29 Oct 2017 13:43:39 +0000 (09:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 11:27:58 +0000 (07:27 -0400)
commitbf3881707b6f6350c3f8f8ff15524b6d719847bc
treee341d9c068529650a16f86b2c7376af166ea6ba3
parenta10444cc04eace87e49dea36e360a799112cd889
media: bdisp: remove redundant assignment to pix

Pointer pix is being initialized to a value and a little later
being assigned the same value again. Remove the initial assignment to
avoid a duplicate assignment. Cleans up the clang warning:

drivers/media/platform/sti/bdisp/bdisp-v4l2.c:726:26: warning: Value
stored to 'pix' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/bdisp/bdisp-v4l2.c