diff options
| author | Nathan Chancellor <[email protected]> | 2018-09-15 02:06:13 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-09-24 09:41:47 -0400 |
| commit | 502fac1ef3498e345086e75ff2442fda88c57b6c (patch) | |
| tree | 78c984d2941d55557ac8a106a4c2c6bf05dcbfe1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ae5a8ca834f9dd0797a2ceb210e71d194431990c (diff) | |
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 e5bd0260e7d3 ("V4L/DVB (5077): Bttv cropping
support") back in 2007. Just remove it.
Reported-by: Nick Desaulniers <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions