]> git.baikalelectronics.ru Git - kernel.git/commit
[media] lmedm04: change some static variables to automatic
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 30 Nov 2016 21:39:10 +0000 (19:39 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 09:39:36 +0000 (07:39 -0200)
commit3c5d91667e651fbcfca4fc346b859d3432b55c11
tree78ec4790a55d11830261bbb0d10d1362922562cc
parente02231e32b38f5d0f7bf7e9deab383ac2dada37e
[media] lmedm04: change some static variables to automatic

ibuf and rbuf in lme2510_int_response are always assigned to before they
are read, and their addresses do not escape the function, so they have
no reason to be static.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb-v2/lmedm04.c