Tag: 308c32f9e8f4ead8e6b37ed3a479ac5f95e58707

staging: dgnc: delete successive assignments to the same location

Author: Jiayi Ye <yejiayily@gmail.com> 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; @@ ( ()=e2; | ()=e2; | ()=e2; | ()=e2; | e1=e2; e1 = ; | *e1=e2; *e1=e3; ) Signed-off-by: Jiayi Ye Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman …

Continue reading