• Mauro Carvalho Chehab's avatar
    media: tvp5150: get rid of some warnings · c135e997
    Mauro Carvalho Chehab authored
    The recent tvp5150 patchset added two new warnings:
    
    drivers/media/i2c/tvp5150.c: In function 'tvp5150_querystd':
    drivers/media/i2c/tvp5150.c:829:18: warning: unused variable 'decoder' [-Wunused-variable]
      struct tvp5150 *decoder = to_tvp5150(sd);
                      ^~~~~~~
    drivers/media/i2c/tvp5150.c:1522:6: warning: no previous prototype for 'tvp5150_volatile_reg' [-Wmissing-prototypes]
     bool tvp5150_volatile_reg(struct device *dev, unsigned int reg)
          ^~~~~~~~~~~~~~~~~~~~
    
    Get rid of them.
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    c135e997
tvp5150.c 48.7 KB