linux/drivers/media/pci/bt8xx
Nathan Chancellor 502fac1ef3 media: bt8xx: Remove unnecessary self-assignment
Clang warns when a variable is assigned to itself.

drivers/media/pci/bt8xx/bttv-driver.c:2043:13: warning: explicitly
assigning value of variable of type '__s32' (aka 'int') to itself
[-Wself-assign]
        min_height = min_height;
        ~~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.

There doesn't appear to be any good reason for this and this statement
was added in commit e5bd0260e7 ("V4L/DVB (5077): Bttv cropping
support") back in 2007. Just remove it.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-24 09:41:47 -04:00
..
bt848.h
bt878.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bt878.h media/bt8xx: Remove old powerpc cruft 2015-03-24 13:33:50 +11:00
btcx-risc.c [media] bt8xx: use pr_foo() macros instead of printk() 2016-11-18 08:02:20 -02:00
btcx-risc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bttv-audio-hook.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
bttv-audio-hook.h MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
bttv-cards.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
bttv-driver.c media: bt8xx: Remove unnecessary self-assignment 2018-09-24 09:41:47 -04:00
bttv-gpio.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
bttv-i2c.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
bttv-if.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
bttv-input.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
bttv-risc.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
bttv-vbi.c media: bt8xx: make bttv_vbi_qops const 2017-10-27 14:11:26 +02:00
bttv.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
bttvp.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
dst.c media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
dst_ca.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dst_ca.h
dst_common.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dst_priv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dvb-bt8xx.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
dvb-bt8xx.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
Kconfig media: v4l: fix broken video4linux docs locations 2018-06-15 18:10:01 -03:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00