Thread (14 messages) 14 messages, 2 authors, 5d ago

Re: [PATCH v6] staging: sm750fb: Remove unused variable 'setAllEngOff'

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2026-07-08 12:01:02
Also in: linux-staging, lkml

On Wed, Jul 08, 2026 at 03:03:07AM -0300, André Moreira wrote:
The variable 'setAllEngOff' within the 'init_status' struct is only
set to zero during setup but its value is never read anywhere else
in the driver. Remove it entirely to clean up the code.

Signed-off-by: André Moreira <redacted>
---
v6:
  - Change patch approach from renaming CamelCase to entirely removing
    the unused 'setAllEngOff' variable, based on Greg KH's feedback.
This doesn't apply to my tree at all.  Can you rebase against the
staging-testing branch and resend?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help