Skip to content

Staging: Remove parentheses around right side an assignment

Haneen Mohammed outreachy 1 version In review

Get series with b4
b4 am 20150313165321.GA6657@haneen-vb

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Staging: rtl8188eu: Remove parentheses around right side an assignmentdrivers/staging/rtl8188eu/core/rtw_efuse.c drivers/staging/rtl8188eu/core/rtw_ieee80211.c drivers/staging/rtl8188eu/core/rtw_mlme.c +8 more+42 -421 reply
2/8Staging: rtl8192e: Remove parentheses around right side an assignmentdrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c drivers/staging/rtl8192e/rtl8192e/rtl_core.c +4 more+25 -252 replies
3/8Staging: rtl8723au: Remove parentheses around right side an assignmentdrivers/staging/rtl8723au/core/rtw_mlme_ext.c drivers/staging/rtl8723au/core/rtw_recv.c drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c +5 more+25 -250 replies
4/8Staging: media: Remove parentheses around right side an assignmentdrivers/staging/media/bcm2048/radio-bcm2048.c drivers/staging/media/lirc/lirc_parallel.c drivers/staging/media/lirc/lirc_serial.c +2 more+9 -90 replies
5/8Staging: iio: Remove parentheses around right side an assignmentdrivers/staging/iio/accel/adis16240_core.c drivers/staging/iio/light/tsl2x7x_core.c drivers/staging/iio/meter/ade7753.c +2 more+6 -61 reply
6/8Staging: lustre: Remove parentheses around right side an assignmentdrivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c +10 more+16 -160 replies
7/8Staging: rtl8192u: Remove parentheses around right side an assignmentdrivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c drivers/staging/rtl8192u/r8192U_core.c +2 more+14 -141 reply
8/8Staging: ft1000: Remove parentheses around right side an assignmentdrivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c drivers/staging/ft1000/ft1000-usb/ft1000_debug.c +1 more+7 -70 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/8] Staging: Remove parentheses around right side an assignment

Parentheses are not needed around the right hand side of an assignment. This patchset remove parenthese of such occurenses. Issue was detected and solved using the following coccinelle script:

@rule1@
identifier x, y, z;
expression E1, E2;
@@

(
x = (y == z);
|
x = (E1 == E2);
|
x =
-(
...
-)
;
)

Haneen Mohammed (8):
Staging: rtl8188eu: Remove parentheses around right side an assignment
Staging: rtl8192e: Remove parentheses around right side an assignment
Staging: rtl8723au: Remove parentheses around right side an assignment
Staging: media: Remove parentheses around right side an assignment
Staging: iio: Remove parentheses around right side an assignment
Staging: lustre: Remove parentheses around right side an assignment
Staging: rtl8192u: Remove parentheses around right side an assignment
Staging: ft1000: Remove parentheses around right side an assignment

 drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c |  4 ++--
 drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c   |  4 ++--
 drivers/staging/ft1000/ft1000-usb/ft1000_debug.c   |  2 +-
 .../staging/ft1000/ft1000-usb/ft1000_download.c    |  4 ++--
 drivers/staging/iio/accel/adis16240_core.c         |  2 +-
 drivers/staging/iio/light/tsl2x7x_core.c           |  4 ++--
 drivers/staging/iio/meter/ade7753.c                |  2 +-
 drivers/staging/iio/meter/ade7754.c                |  2 +-
 drivers/staging/iio/meter/ade7759.c                |  2 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c    |  2 +-
 .../staging/lustre/lnet/klnds/socklnd/socklnd.c    |  4 ++--
 .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |  4 ++--
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    |  2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_request.c  |  2 +-
 drivers/staging/lustre/lustre/libcfs/debug.c       |  2 +-
 drivers/staging/lustre/lustre/llite/file.c         |  2 +-
 drivers/staging/lustre/lustre/llite/lloop.c        |  2 +-
 drivers/staging/lustre/lustre/llite/rw.c           |  2 +-
 drivers/staging/lustre/lustre/lov/lov_obd.c        |  4 ++--
 drivers/staging/lustre/lustre/obdclass/genops.c    |  2 +-
 .../lustre/lustre/obdclass/linux/linux-sysctl.c    |  2 +-
 drivers/staging/lustre/lustre/osc/osc_io.c         |  2 +-
 drivers/staging/media/bcm2048/radio-bcm2048.c      |  8 ++++----
 drivers/staging/media/lirc/lirc_parallel.c         |  4 ++--
 drivers/staging/media/lirc/lirc_serial.c           |  2 +-
 drivers/staging/media/mn88472/mn88472.c            |  2 +-
 drivers/staging/media/mn88473/mn88473.c            |  2 +-
 drivers/staging/rtl8188eu/core/rtw_efuse.c         |  6 +++---
 drivers/staging/rtl8188eu/core/rtw_ieee80211.c     |  2 +-
 drivers/staging/rtl8188eu/core/rtw_mlme.c          |  2 +-
 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c      | 22 +++++++++++-----------
 drivers/staging/rtl8188eu/core/rtw_recv.c          |  4 ++--
 drivers/staging/rtl8188eu/core/rtw_sreset.c        |  2 +-
 drivers/staging/rtl8188eu/core/rtw_wlan_util.c     | 18 +++++++++---------
 .../staging/rtl8188eu/hal/Hal8188ERateAdaptive.c   |  4 ++--
 drivers/staging/rtl8188eu/hal/odm_HWConfig.c       |  2 +-
 drivers/staging/rtl8188eu/hal/phy.c                | 20 ++++++++++----------
 drivers/staging/rtl8188eu/hal/rf.c                 |  2 +-
 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c     | 14 +++++++-------
 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c     | 20 ++++++++++----------
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c       |  6 +++---
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c         |  2 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c     |  2 +-
 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c       |  4 ++--
 drivers/staging/rtl8192e/rtllib_softmac.c          |  2 +-
 .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c      |  4 ++--
 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c |  2 +-
 drivers/staging/rtl8192u/r8192U_core.c             | 12 ++++++------
 drivers/staging/rtl8192u/r8192U_dm.c               |  6 +++---
 drivers/staging/rtl8192u/r819xU_phy.c              |  4 ++--
 drivers/staging/rtl8723au/core/rtw_mlme_ext.c      | 16 ++++++++--------
 drivers/staging/rtl8723au/core/rtw_recv.c          |  4 ++--
 .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c    |  2 +-
 drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c  | 12 ++++++------
 drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c    |  4 ++--
 drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c    |  4 ++--
 drivers/staging/rtl8723au/hal/rtl8723au_recv.c     |  4 ++--
 drivers/staging/rtl8723au/hal/usb_halinit.c        |  4 ++--
 58 files changed, 144 insertions(+), 144 deletions(-)
Signature · 1 line
1.9.1