From: David S. Miller Date: Sun, 17 Apr 2011 07:10:17 +0000 (-0700) Subject: atm: idt77252: Fix set-but-unused variables. X-Git-Tag: v3.0-rc1~377^2~382 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb4dcb717d71f63c5147d7bef3014f96d192842;p=pandora-kernel.git atm: idt77252: Fix set-but-unused variables. Two cases here: 1) idt77252_rx_raw() really does not make any use of the extracted PTI field of the atm header. 2) idt77252_collect_stat() only uses the register values in code which has been compiled out by a "NOTDEF" cpp test for more than 10 years. Just kill this NOTDEF code entirely, but keep the register reads in case they have side effects. Signed-off-by: David S. Miller --- Reading git-diff-tree failed