]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: key_material_v2 remove superfluous condition
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 12:11:21 +0000 (14:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 10:00:36 +0000 (13:00 +0300)
commit7ea5ff68bced128715e420d42ec9a9a9ec2cd655
tree2e743ca113f00e19196dc118fcbbeef6b971f311
parentde37e12c68c543b0cf8cae5de71cda7d8b7d3e64
mwifiex: key_material_v2 remove superfluous condition

We are using mac as source address in a memcpy.
In the lines below we can assume mac is not NULL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_cmd.c