Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1636031
| From | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/9] Drop unnecessary static |
| Date | 2017-05-04 22:40 +0200 |
| Message-ID | <tDvHz-8tt-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/9] Drop unnecessary static Julia Lawall <Julia.Lawall@lip6.fr> - 2017-05-04 22:40 +0200
[PATCH 2/9] mtd: physmap_of: Drop unnecessary static Julia Lawall <Julia.Lawall@lip6.fr> - 2017-05-04 22:40 +0200
[PATCH 5/9] mfd: Drop unnecessary static Julia Lawall <Julia.Lawall@lip6.fr> - 2017-05-04 22:40 +0200
[PATCH 9/9] mfd: max8925-i2c: Drop unnecessary static Julia Lawall <Julia.Lawall@lip6.fr> - 2017-05-04 22:40 +0200
[PATCH 1/9] mtd: cfi_cmdset_0020: Drop unnecessary static Julia Lawall <Julia.Lawall@lip6.fr> - 2017-05-04 22:40 +0200
Re: [PATCH 1/9] mtd: cfi_cmdset_0020: Drop unnecessary static Brian Norris <computersforpeace@gmail.com> - 2017-05-11 21:00 +0200
[PATCH 3/9] drbd: Drop unnecessary static Julia Lawall <Julia.Lawall@lip6.fr> - 2017-05-04 22:40 +0200
Re: [PATCH 3/9] drbd: Drop unnecessary static Roland Kammerer <roland.kammerer@linbit.com> - 2017-05-05 09:20 +0200
csiph-web