linux/drivers
Julia Lawall 0ae6ee006c fbdev: da8xx-fb: Drop unnecessary static
Drop static on a local variable, when the variable is initialized before
any possible use.  Thus, the static has no benefit.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@bad exists@
position p;
identifier x;
type T;
@@
static T x@p;
...
x = <+...x...+>

@@
identifier x;
expression e;
type T;
position p != bad.p;
@@
-static
 T x@p;
 ... when != x
     when strict
?x = e;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-08-01 17:20:39 +02:00
..
accessibility
acpi Merge branches 'acpi-pm' and 'acpi-numa' 2017-07-27 23:14:08 +02:00
amba
android
ata
atm
auxdisplay
base dma mapping fixes for 4.13-rc2: 2017-07-25 17:17:18 -07:00
bcma
block Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2017-07-28 12:13:34 -07:00
bluetooth
bus
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle
crypto
dax - A few DM integrity fixes that improve performance. One that address 2017-07-28 12:17:17 -07:00
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
fsi
gpio
gpu Summary: 2017-07-28 12:32:59 +10:00
hid HID: ortek: add one more buggy device 2017-07-24 17:38:21 +02:00
hsi
hv
hwmon
hwspinlock
hwtracing
i2c
ide
idle
iio
infiniband
input
iommu
ipack
irqchip
isdn
leds
lguest
lightnvm lightnvm: pblk: advance bio according to lba index 2017-07-28 08:06:00 -06:00
macintosh
mailbox
mcb
md Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md 2017-07-28 12:24:21 -07:00
media
memory
memstick
message
mfd
misc
mmc mmc: dw_mmc: fix the wrong condition check of getting num-slots from DT 2017-07-27 15:57:30 +02:00
mtd
mux
net virtio-net: fix module unloading 2017-07-25 16:37:36 +03:00
nfc
ntb
nubus
nvdimm
nvme nvme: validate admin queue before unquiesce 2017-07-26 17:41:41 +02:00
nvmem
of of: irq: fix of_irq_to_resource() error check 2017-07-21 16:58:55 -05:00
oprofile
parisc parisc: pdc_stable: constify attribute_group structures. 2017-07-23 21:02:17 +02:00
parport
pci
pcmcia
perf drivers/perf: arm_pmu: Request PMU SPIs with IRQF_PER_CPU 2017-07-27 13:43:22 +01:00
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-07-25 08:44:27 -07:00
sbus
scsi SCSI fixes on 20170725 2017-07-25 20:10:10 -07:00
sfi
sh
sn
soc
spi
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt uuid fixups: 2017-07-25 19:46:05 -07:00
tty
uio
usb
uwb
vfio
vhost
video fbdev: da8xx-fb: Drop unnecessary static 2017-08-01 17:20:39 +02:00
virt
virtio virtio-balloon: coding format cleanup 2017-07-25 16:37:35 +03:00
vlynq
vme
w1
watchdog
xen xen: dont fiddle with event channel masking in suspend/resume 2017-07-27 19:55:46 +02:00
zorro
Kconfig
Makefile