All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] staging: vt6655: Remove else after return
@ 2020-10-31  9:00 Marcos Antonio de Jesus Filho
  2020-10-31  9:00 ` [PATCH 1/3] staging: vt6655: Remove useless else Marcos Antonio de Jesus Filho
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Marcos Antonio de Jesus Filho @ 2020-10-31  9:00 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, outreachy-kernel

This patchset removes multiples useless else statements after return statements. Reported by check patch.

Observation
-----------

After cleaning up the code I noticed that the code from 530 to 548 repeats at 551,569 and that it can be removed and one of the conditional statements can be simplified. 

Marcos Antonio de Jesus Filho (3):
  staging: vt6655: Remove useless else
  staging: vt6655: Remove useless else
  staging: vt6655: Remove useless else

 drivers/staging/vt6655/rxtx.c | 99 ++++++++++++++++++-----------------
 1 file changed, 51 insertions(+), 48 deletions(-)

-- 
2.28.0



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

end of thread, other threads:[~2020-10-31 15:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-31  9:00 [PATCH 0/3] staging: vt6655: Remove else after return Marcos Antonio de Jesus Filho
2020-10-31  9:00 ` [PATCH 1/3] staging: vt6655: Remove useless else Marcos Antonio de Jesus Filho
2020-10-31  9:01 ` [PATCH 2/3] " Marcos Antonio de Jesus Filho
2020-10-31  9:01 ` [PATCH 3/3] " Marcos Antonio de Jesus Filho
2020-10-31  9:25   ` [Outreachy kernel] " Julia Lawall
2020-10-31  9:28   ` Julia Lawall
2020-10-31 14:48     ` Marcos Antonio de Jesus Filho
2020-10-31  9:37 ` [Outreachy kernel] [PATCH 0/3] staging: vt6655: Remove else after return Julia Lawall
2020-10-31 14:25   ` Marcos Antonio de Jesus Filho
2020-10-31 15:05     ` Julia Lawall

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.