All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Minor cleanups
@ 2023-09-12  7:47 Damien Le Moal
  2023-09-12  7:47 ` [PATCH 1/3] scsi: libsas: Move local functions declarations to sas_internal.h Damien Le Moal
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Damien Le Moal @ 2023-09-12  7:47 UTC (permalink / raw)
  To: linux-scsi, Martin K . Petersen, John Garry

3 patches to cleanup libsas functions declarations. No functional
changes.

Damien Le Moal (3):
  scsi: libsas: Move local functions declarations to sas_internal.h
  scsi: libsas: Declare sas_set_phy_speed() static
  scsi: libsas: Declare sas_discover_end_dev() static

 drivers/scsi/libsas/sas_discover.c |  2 +-
 drivers/scsi/libsas/sas_init.c     |  4 ++--
 drivers/scsi/libsas/sas_internal.h | 11 +++++++++++
 include/scsi/libsas.h              | 15 ---------------
 4 files changed, 14 insertions(+), 18 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/3] Minor cleanups
@ 2020-07-21  9:59 Hanjun Guo
  2020-07-27 13:20 ` Rafael J. Wysocki
  0 siblings, 1 reply; 11+ messages in thread
From: Hanjun Guo @ 2020-07-21  9:59 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-acpi, linuxarm, Hanjun Guo

When reviewing patchset "[PATCH v2 0/6] ACPI: Only create NUMA nodes
from entries in SRAT or SRAT emulation." [0] from Jonathan, I found some
code can be improved, here are some cleanup patches.

[0]: https://www.spinics.net/lists/linux-mm/msg220777.html

Hanjun Guo (3):
  ACPI: tables: Remove the duplicated checks for
    acpi_parse_entries_array()
  ACPI: NUMA: Remove the useless sub table pointer check
  ACPI: NUMA: Remove the useless 'node >= MAX_NUMNODES' check

 drivers/acpi/numa/srat.c | 10 +---------
 drivers/acpi/tables.c    | 17 +++--------------
 2 files changed, 4 insertions(+), 23 deletions(-)

-- 
1.7.12.4


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/3] Minor cleanups
@ 2019-08-13  9:03 Nikolay Borisov
  0 siblings, 0 replies; 11+ messages in thread
From: Nikolay Borisov @ 2019-08-13  9:03 UTC (permalink / raw)
  To: linux-xfs; +Cc: darrick.wong, Nikolay Borisov

While digging around xfs' buf code I spotted a couple of cleanup candidates
which resulted in this patch. It should hopefully make the code easier to inspect
by reducing the 'hops' to the actual implementation of buffer submission. 

Nikolay Borisov (3):
  xfs: Use __xfs_buf_submit everywhere
  xfs: Rename __xfs_buf_submit to xfs_buf_submit
  xfs: Opencode and remove DEFINE_SINGLE_BUF_MAP

 fs/xfs/xfs_buf.c         | 16 +++++++++-------
 fs/xfs/xfs_buf.h         | 16 ++++------------
 fs/xfs/xfs_buf_item.c    |  2 +-
 fs/xfs/xfs_log_recover.c |  2 +-
 fs/xfs/xfs_trans.h       |  6 ++++--
 5 files changed, 19 insertions(+), 23 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-12  8:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12  7:47 [PATCH 0/3] Minor cleanups Damien Le Moal
2023-09-12  7:47 ` [PATCH 1/3] scsi: libsas: Move local functions declarations to sas_internal.h Damien Le Moal
2023-09-12  8:19   ` John Garry
2023-09-12  8:41     ` Damien Le Moal
2023-09-12  7:47 ` [PATCH 2/3] scsi: libsas: Declare sas_set_phy_speed() static Damien Le Moal
2023-09-12  7:59   ` John Garry
2023-09-12  7:47 ` [PATCH 3/3] scsi: libsas: Declare sas_discover_end_dev() static Damien Le Moal
2023-09-12  8:00   ` John Garry
  -- strict thread matches above, loose matches on Subject: below --
2020-07-21  9:59 [PATCH 0/3] Minor cleanups Hanjun Guo
2020-07-27 13:20 ` Rafael J. Wysocki
2019-08-13  9:03 Nikolay Borisov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.