linux/drivers/staging/cxt1e1
Chi Pham 24e7d79901 staging: cxt1e1: Removed assignments from if statements.
Assignments removed from if statements.
Fixed checkpatch warning such as indentation and negative error returns in
adjacent code.

Coccinelle was used for this patch. The following script found the match:
@simple@
expression E1, E2;
statement S1, S2;
@@

+ E1 = E2;
  if (
-     (E1 = E2)
+     E1
     )
  S1 else S2

@left@
expression E0, E1, E2;
statement S1, S2;
@@

+ E1 = E2;
  if (
-     (E1 = E2)
+     E1
         == E0
     )
  S1 else S2

Signed-off-by: Chi Pham <fempsci@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
2014-03-13 17:44:45 -07:00
..
comet_tables.c staging: cxt1e1: Add extern keyword for sparse 'static' warning 2014-03-04 16:35:37 -08:00
comet_tables.h
comet.c staging: cxt1e1: change declaration of TWV_table 2014-03-08 22:39:41 -08:00
comet.h staging: cxt1e1: remove typedef comet_t 2013-11-10 08:05:15 -08:00
functions.c Staging: cxt1e1: Fix line length over 80 characters in functions.c 2014-02-27 08:39:27 -08:00
hwprobe.c staging: cxt1e1: fix checkpatch errors with open brace '{' 2014-03-04 16:30:43 -08:00
Kconfig
libsbew.h
linux.c staging: cxt1e1: fix checkpatch errors with open brace '{' 2014-03-08 22:34:15 -08:00
Makefile staging: cxt1e1: removed version string declaration 2014-03-06 11:58:32 -08:00
musycc.c staging: cxt1e1: Removed assignments from if statements. 2014-03-13 17:44:45 -07:00
musycc.h staging: cxt1e1: musycc.h: fixes brace placement 2012-11-21 14:20:39 -08:00
pmc93x6_eeprom.c staging: cxt1e1: cleanup mfg_template[] a bit 2014-02-07 10:15:48 -08:00
pmc93x6_eeprom.h
pmcc4_cpld.h
pmcc4_defs.h
pmcc4_drv.c staging: cxt1e1: Removed assignments from if statements. 2014-03-13 17:44:45 -07:00
pmcc4_ioctls.h
pmcc4_private.h staging: cxt1e1: removed version string declaration 2014-03-06 11:58:32 -08:00
pmcc4_sysdep.h
pmcc4.h staging: cxt1e1: remove unnecessary function, VMETRO_TRACE 2014-02-07 10:44:30 -08:00
sbe_bid.h
sbe_promformat.h
sbecom_inline_linux.h staging: cxt1e1: sbecom_inline_linux.h: Return NULL instead of 0 2013-09-30 18:48:40 -07:00
sbecrc.c staging: cxt1e1: sbecrc.c: Use NULL instead of 0 2013-09-30 18:48:40 -07:00
sbeid.c Drivers: Staging: cxt1e1: stbeid: Fixed whitespace between function and parameters 2013-11-19 15:34:51 -08:00
sbeproc.c staging: cxt1e1: Removed assignments from if statements. 2014-03-13 17:44:45 -07:00
sbeproc.h Staging/cxt1e1:Fixing foo * bar should be foo *bar 2013-05-22 15:28:30 -07:00
sbew_ioc.h Staging:cxt1e1: Fixes whitespace around commas in sbew_ioc.h 2013-10-11 13:09:57 -07:00