mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()
[ Upstream commitb0f7b95633] smatch warnings: addr <= MT_CBTOP2_PHY_END(0xffffffff) is always true (<= u32max), so drop it. Fixes:cd4c314a65("mt76: mt7915: refine register definition") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8dd61e810f
commit
c31759baec
2 changed files with 1 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue