https://github.com/torvalds/linux
Revision f2543790875b088e2a58aa12ee1ac20a75d6126d authored by Julia Lawall on 26 October 2010, 10:25:43 UTC, committed by Jeff Garzik on 12 November 2010, 22:10:55 UTC
Delete successive assignments to the same location.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression i;
@@

*i = ...;
 i = ...;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
1 parent f60215a
History
Tip revision: f2543790875b088e2a58aa12ee1ac20a75d6126d authored by Julia Lawall on 26 October 2010, 10:25:43 UTC
drivers/ata/pata_octeon_cf.c: delete double assignment
Tip revision: f254379
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 177.8 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top