mbox series

[00/16] Remove two unused drivers and unused CONFIG options

Message ID 1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com
Headers show
Series Remove two unused drivers and unused CONFIG options | expand

Message

Masahiro Yamada Oct. 26, 2017, 12:24 p.m. UTC
The first two deletes unused i2c drivers.

The rest of the series delete unreferenced CONFIG options.

Today, I volunteered to delete 20 CONFIGs or so,
but probably I will not do this again
since it was time-consuming, painful work...

Buildman passed.  No code size change.


Masahiro Yamada (16):
  i2c: adi_i2c: remove left-over Blackfin I2C driver
  i2c: fti2c010: remove unused/unmaintained driver
  IMX: novena: remove CONFIG_I2C_MXC
  omap4: sdp4430: remove CONFIG_4430SDP
  mpc85xx: freescale: remove CONFIG_ADDR_STREAMING
  sh7734: remove CONFIG_553MHZ_MODE
  ARC: remove CONFIG_ARC_UART_BASE
  SOCFPGA: remove CONFIG_AUTONEG_TIMEOUT
  omap4: sdp4430: match the #endif comment to #ifdef
  exynos: remove CONFIG_CORE_COUNT
  MX28: remove CONFIG_DEFAULT_SPI_CS
  AM33XX: etamin: remove CONFIG_DFU_MTD
  mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQ
  net: remove CONFIG_NET_MULTI
  exynos: remove CONFIG_LCD_MENU_BOARD
  AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSET

 board/ti/sdp4430/cmd_bat.c          |   2 +-
 drivers/i2c/Makefile                |   2 -
 drivers/i2c/adi_i2c.c               | 309 --------------------------------
 drivers/i2c/fti2c010.c              | 340 ------------------------------------
 drivers/i2c/fti2c010.h              |  80 ---------
 include/configs/C29XPCIE.h          |   1 -
 include/configs/P1010RDB.h          |   1 -
 include/configs/am335x_shc.h        |   1 -
 include/configs/ap_sh4a_4a.h        |   1 -
 include/configs/at91sam9n12ek.h     |   1 -
 include/configs/bg0900.h            |   1 -
 include/configs/blanche.h           |   1 -
 include/configs/cm_t43.h            |   1 -
 include/configs/cyrus.h             |   1 -
 include/configs/etamin.h            |   1 -
 include/configs/exynos5420-common.h |   5 -
 include/configs/exynos7420-common.h |   3 -
 include/configs/ls1012aqds.h        |   1 -
 include/configs/ls1012ardb.h        |   1 -
 include/configs/ls1043a_common.h    |   1 -
 include/configs/m28evk.h            |   1 -
 include/configs/novena.h            |   1 -
 include/configs/nsa310s.h           |   1 -
 include/configs/nsim.h              |   1 -
 include/configs/omap4_sdp4430.h     |   1 -
 include/configs/pengwyn.h           |   3 -
 include/configs/r0p7734.h           |   1 -
 include/configs/s5pc210_universal.h |   1 -
 include/configs/salvator-x.h        |   1 -
 include/configs/socfpga_common.h    |   1 -
 include/configs/trats.h             |   1 -
 include/configs/trats2.h            |   1 -
 include/configs/ulcb.h              |   1 -
 include/configs/xilinx_zynqmp.h     |   1 -
 include/configs/xpedite550x.h       |   1 -
 35 files changed, 1 insertion(+), 770 deletions(-)
 delete mode 100644 drivers/i2c/adi_i2c.c
 delete mode 100644 drivers/i2c/fti2c010.c
 delete mode 100644 drivers/i2c/fti2c010.h

Comments

Tom Rini Oct. 26, 2017, 2:20 p.m. UTC | #1
On Thu, Oct 26, 2017 at 09:24:15PM +0900, Masahiro Yamada wrote:

> The first two deletes unused i2c drivers.

> 

> The rest of the series delete unreferenced CONFIG options.

> 

> Today, I volunteered to delete 20 CONFIGs or so,

> but probably I will not do this again

> since it was time-consuming, painful work...


It is hard work, thanks for doing it!

Heiko, do you want to take the first 3 or just ack them and I'll take
the series?  Thanks!

-- 
Tom
Heiko Schocher Oct. 26, 2017, 2:36 p.m. UTC | #2
Hello Tom,

Am 26.10.2017 um 16:20 schrieb Tom Rini:
> On Thu, Oct 26, 2017 at 09:24:15PM +0900, Masahiro Yamada wrote:
> 
>> The first two deletes unused i2c drivers.
>>
>> The rest of the series delete unreferenced CONFIG options.
>>
>> Today, I volunteered to delete 20 CONFIGs or so,
>> but probably I will not do this again
>> since it was time-consuming, painful work...
> 
> It is hard work, thanks for doing it!
> 
> Heiko, do you want to take the first 3 or just ack them and I'll take
> the series?  Thanks!

I acked them, so please pick them up when you pick up the hole series,
thanks!

bye,
Heiko
Masahiro Yamada Oct. 26, 2017, 2:49 p.m. UTC | #3
2017-10-26 23:20 GMT+09:00 Tom Rini <trini@konsulko.com>:
> On Thu, Oct 26, 2017 at 09:24:15PM +0900, Masahiro Yamada wrote:
>
>> The first two deletes unused i2c drivers.
>>
>> The rest of the series delete unreferenced CONFIG options.
>>
>> Today, I volunteered to delete 20 CONFIGs or so,
>> but probably I will not do this again
>> since it was time-consuming, painful work...
>
> It is hard work, thanks for doing it!
>
> Heiko, do you want to take the first 3 or just ack them and I'll take
> the series?  Thanks!
>

Probably it will be possible to write a script
to generate a list of unreferenced CONFIGs.

I tried to do that today, but
I ended up with a crappy scripts that produces various
false positives.
(at least, I see hundreds of _suspicious_ options.)

Finally, I double-checked with my eyes and buildman.