aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorJiayi Ye <yejiayily@gmail.com>2014-10-25 20:06:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-28 15:53:26 +0800
commit2f12163369562146699bb156d26975991d465edd (patch)
tree8ffc62287537210d4aebad0c2bc71103b7dcac6d /drivers/staging/iio
parent427eed0244010c64f6905212f48258d3631bcb4d (diff)
staging: rtl8192u: delete successive assignments to the same location
Successive assignments to the same location is meaningless and can be deleted. The Coccinelle semantic patch was used to find cases. @@ expression e1,e2,e3; @@ ( (<+...e1++...+>)=e2; | (<+...e1--...+>)=e2; | (<+...++e1...+>)=e2; | (<+...--e1...+>)=e2; | e1=e2; e1 = <+...e1...+>; | *e1=e2; *e1=e3; ) Signed-off-by: Jiayi Ye <yejiayily@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions