Skip to content

Remove nvmem deadcode

[email protected] linux-doc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvmem: core: Remove unused nvmem_device_cell_(read|write)Documentation/driver-api/nvmem.rst drivers/nvmem/core.c include/linux/nvmem-consumer.h+0 -660 replies
2/3nvmem: core: Remove nvmem_(add|del)_cell_tableDocumentation/driver-api/nvmem.rst drivers/nvmem/core.c include/linux/nvmem-provider.h+0 -330 replies
3/3nvmem: core: Remove remains of nvmem_cell_tableDocumentation/driver-api/nvmem.rst drivers/nvmem/core.c include/linux/nvmem-provider.h+0 -780 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Remove nvmem deadcode

From: "Dr. David Alan Gilbert" <[email protected]>

Hi,
This series removes some uncalled deadcode in nvmem.
The third patch probably deserves a bit closer inspection.

The first one removes nvmem_device_cell_read/write functions that haven't been used in ~10 years.

The second removes nvmem_add/del_cell_table - again this is removing uncalled functions; nvmem_add_cell_table is unused after the removal of the Davinci machines.

The third one removes the remaining nvmem_cell_table code - including a function that's called ( nvmem_add_cells_from_table ) - but my reading is that from the previous patch there's no way for this function to do anything active any more since the list it walks is empty.

Build tested only.

Dr. David Alan Gilbert (3):
nvmem: core: Remove unused nvmem_device_cell_(read|write)
nvmem: core: Remove nvmem_(add|del)_cell_table
nvmem: core: Remove remains of nvmem_cell_table

 Documentation/driver-api/nvmem.rst |  23 ------
 drivers/nvmem/core.c               | 126 -----------------------------
 include/linux/nvmem-consumer.h     |   4 -
 include/linux/nvmem-provider.h     |  24 ------
 4 files changed, 177 deletions(-)
Signature · 1 line
2.48.1