]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/ipg.c: remove unused variable
authorJulia Lawall <julia@diku.dk>
Sat, 15 Mar 2008 16:04:39 +0000 (17:04 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:56:42 +0000 (07:56 -0400)
commit8973c20be292fa932abeb3ff51b1b9c1f4f1e127
tree5e25e0cd105b3c310e536c272ca23dce1af7b997
parentda5f1178a18f597e606c6c1b3741486d15e6b737
drivers/net/ipg.c: remove unused variable

The variable gig is initialized but never used otherwise.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

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

(
extern T i;
|
- T i;
  <+... when != i
- i = C;
  ...+>
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ipg.c