drivers/net/ipg.c: remove unused variable
commitb97ef8757b6752397ed1dd24bfc9083cf4dc49b4
authorJulia Lawall <julia@diku.dk>
Sat, 15 Mar 2008 16:04:39 +0000 (15 17:04 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:56:42 +0000 (17 07:56 -0400)
tree5e25e0cd105b3c310e536c272ca23dce1af7b997
parent9ebfd4929dc86d33cb68823714802cf226a38d42
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