]> err.no Git - linux-2.6/commit
drivers/net/atl1/atl1_main.c: remove unused variable
authorJulia Lawall <julia@diku.dk>
Sat, 15 Mar 2008 16:05:02 +0000 (17:05 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:56:57 +0000 (07:56 -0400)
commit16bb547e130bad47c16852f353f5501cf4b9b35a
treed9f560810cf450888c822ed0eb28a14ecdd7bec7
parentb97ef8757b6752397ed1dd24bfc9083cf4dc49b4
drivers/net/atl1/atl1_main.c: remove unused variable

The variable update_rx 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>
Acked-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/atl1/atl1_main.c