mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] staging: greybus: audio: remove dead code and clean up
@ 2026-02-24 18:54 Hardik Phalet
  2026-02-24 18:54 ` [PATCH v3 1/2] staging: greybus: audio: remove unused gb_audio_manager_get_module() Hardik Phalet
  2026-02-24 18:55 ` [PATCH v3 2/2] staging: greybus: audio: drop stale TODO comment Hardik Phalet
  0 siblings, 2 replies; 4+ messages in thread
From: Hardik Phalet @ 2026-02-24 18:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Vaibhav Agarwal
  Cc: Dan Carpenter, Mark Greer, Johan Hovold, Alex Elder, greybus-dev,
	linux-staging, linux-kernel, Hardik Phalet

This series cleans up dead code in the Greybus audio manager.

gb_audio_manager_get_module() has no in-tree callers. The previously
reported NULL dereference is therefore unreachable. Per review feedback,
the unused function is removed to avoid carrying dead code.

Patch 2 performs a small cleanup in the same area.

Changes in v3:
- Replaced the NULL-deref fix with removal of gb_audio_manager_get_module()
  since there are no in-tree callers (per Greg KH).
- No functional changes otherwise.

Thanks for the review.

Signed-off-by: Hardik Phalet <hardik.phalet@pm.me>

Hardik Phalet (2):
  staging: greybus: audio: remove unused gb_audio_manager_get_module()
  staging: greybus: audio: drop stale TODO comment

 drivers/staging/greybus/audio_manager.c        | 12 ------------
 drivers/staging/greybus/audio_manager.h        |  7 -------
 drivers/staging/greybus/audio_manager_module.c |  1 -
 3 files changed, 20 deletions(-)

-- 
2.53.0



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

end of thread, other threads:[~2026-02-25 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-24 18:54 [PATCH v3 0/2] staging: greybus: audio: remove dead code and clean up Hardik Phalet
2026-02-24 18:54 ` [PATCH v3 1/2] staging: greybus: audio: remove unused gb_audio_manager_get_module() Hardik Phalet
2026-02-25 15:04   ` Greg Kroah-Hartman
2026-02-24 18:55 ` [PATCH v3 2/2] staging: greybus: audio: drop stale TODO comment Hardik Phalet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®