From: Kelley Nielsen Date: Wed, 6 Nov 2013 05:36:55 +0000 (-0800) Subject: staging: ft1000: remove unused variable nxtph X-Git-Tag: v3.14-rc1~150^2~775^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ae3c482df04a74e03ed944f33209178adaf03f;p=pandora-kernel.git staging: ft1000: remove unused variable nxtph The function ft1000_poll, in ft1000_hw.c, is overly complex, with at least five different levels of nesting. While preparing to extract one of the cases to its own function, I discovered that the variable nxtph is not used. It is declared and assigned a value in ft1000_poll(), then passed by reference to the helper function ft1000_receive_command(), which receives it as parameter. pnxtph does not appear in the body of this function. Remove all occurrences of nxtph and pnxtph. Signed-off-by: Kelley Nielsen Reviewed-by: Peter P Waskiewicz Jr Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed