From: Wolfram Sang Date: Tue, 2 Feb 2010 12:03:31 +0000 (+0100) Subject: i2c-highlander: remover superflous variable X-Git-Tag: v2.6.35-rc1~479^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5c80bc5d70a1ce5b071ed06dd95292b9de46f95;p=pandora-kernel.git i2c-highlander: remover superflous variable When cppcheck found this flaw [./i2c/busses/i2c-highlander.c:284]: (style) Warning - using char variable in bit operation it was noted that the 'read'-variable could be simply removed as read_write can only be 0 or 1 anyhow. So, we remove the flaw and simplify the code. Reported-by: d binderman Signed-off-by: Wolfram Sang Acked-by: Paul Mundt Acked-by: Jean Delvare Cc: Ben Dooks --- Reading git-diff-tree failed