Skip to content

Assign outside if

Srishti Sharma lkml netdev outreachy 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Staging: irda: Don't use assignment inside if statementdrivers/staging/irda/drivers/irda-usb.c drivers/staging/irda/drivers/mcs7780.c drivers/staging/irda/net/irqueue.c+10 -60 replies
2/2Staging: irda: Remove parentheses on the right of assignmentdrivers/staging/irda/drivers/mcs7780.c drivers/staging/irda/net/irqueue.c+3 -32 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/2] Assign outside if

This patch series intends to remove the assignment statements inside the if statement, and eliminates the cases of parentheses around the right hand side of assignment generated as a result of the same.

Srishti Sharma (2):
Staging: irda: Don't use assignment inside if statement
Staging: irda: Remove parentheses on the right of assignment

 drivers/staging/irda/drivers/irda-usb.c | 4 ++--
 drivers/staging/irda/drivers/mcs7780.c  | 9 ++++++---
 drivers/staging/irda/net/irqueue.c      | 3 ++-
 3 files changed, 10 insertions(+), 6 deletions(-)
Signature · 1 line
2.7.4