From: Arend van Spriel Date: Thu, 9 Feb 2012 20:08:57 +0000 (+0100) Subject: brcm80211: smac: remove redundant assignments from txpwrctrl_pwr_setup_nphy X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01343537e6da3398ecea205ff1d579e4dc226b93;p=pandora-kernel.git brcm80211: smac: remove redundant assignments from txpwrctrl_pwr_setup_nphy The function wlc_phy_txpwrctrl_pwr_setup_nphy() does assign a local variable target_pwr_qtrdbm in several code paths, but in the end all code paths are coming to an assignment of that variable which does override all previous. So those early and redundant assignments have been removed. Reported-by: Larry Finger Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Alwin Beukers Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed