lkml.org 
[lkml]   [2017]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] Drop unnecessary static
Date
These patches fix cases where there is a static on a local variable, but
the variable is either first initialized or never used, on every possible
execution path through the function. The static has no benefit, and
dropping it reduces the code size.

---

drivers/block/drbd/drbd_nl.c | 2 +-
drivers/clocksource/timer-fttmr010.c | 2 +-
drivers/iio/accel/hid-sensor-accel-3d.c | 2 +-
drivers/mfd/max8925-i2c.c | 2 +-
drivers/mfd/twl4030-irq.c | 2 +-
drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
drivers/mtd/maps/physmap_of_gemini.c | 2 +-
drivers/power/supply/axp20x_usb_power.c | 2 +-
drivers/regulator/palmas-regulator.c | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)

\
 
 \ /
  Last update: 2017-05-04 22:37    [W:0.111 / U:1.188 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site