linux/drivers/net/ethernet/micrel
Julia Lawall 9895c503ef ksz884x: delete useless variable
Delete a variable that is at most only assigned to a constant, but never
used otherwise.  In this code, it is the variable result that is used for
the return code, not rc.

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

// <smpl>
@@
type T;
identifier i;
constant c;
@@

-T i;
<... when != i
-i = c;
...>
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-15 13:43:03 -08:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
ks8695net.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
ks8695net.h
ks8842.c dmaengine: remove DMA unmap flags 2013-11-14 11:04:38 -08:00
ks8851.c ks8851: Remove unneeded PM_OPS definitions 2013-04-16 16:30:51 -04:00
ks8851.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ks8851_mll.c net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
ksz884x.c ksz884x: delete useless variable 2014-01-15 13:43:03 -08:00
Makefile