[media] tw5864: remove two unused vars
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 16:28:49 +0000 (13:28 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 16:31:08 +0000 (13:31 -0300)
commitb9b048d9f92ac3c146d03ae2f6a96c628b5e3b8e
tree35ca2173567fe7b1399b9cd2a7d4f1bf99d5226a
parent617e901a12adf8bc9b8d2c41db0eccc7debab8d0
[media] tw5864: remove two unused vars

Remove those two vars that aren't used, as reported by smatch:

drivers/media/pci/tw5864/tw5864-video.c: In function 'tw5864_prepare_frame_headers':
drivers/media/pci/tw5864/tw5864-video.c:1219:16: warning: variable 'space_before_sl_hdr' set but not used [-Wunused-but-set-variable]
  unsigned long space_before_sl_hdr;
                ^~~~~~~~~~~~~~~~~~~
drivers/media/pci/tw5864/tw5864-video.c:1218:6: warning: variable 'sl_hdr' set but not used [-Wunused-but-set-variable]
  u8 *sl_hdr;
      ^~~~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/tw5864/tw5864-video.c